hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Moved: (HTTPCORE-182) HttpConnection.shutdown() not always thread-safe
Date Mon, 02 Feb 2009 18:47:59 GMT

     [ https://issues.apache.org/jira/browse/HTTPCORE-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oleg Kalnichevski moved HTTPCLIENT-821 to HTTPCORE-182:
-------------------------------------------------------

    Fix Version/s:     (was: 4.0 Final)
                   4.0-beta4
              Key: HTTPCORE-182  (was: HTTPCLIENT-821)
          Project: HttpComponents HttpCore  (was: HttpComponents HttpClient)

> HttpConnection.shutdown() not always thread-safe
> ------------------------------------------------
>
>                 Key: HTTPCORE-182
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-182
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>            Reporter: Sebb
>             Fix For: 4.0-beta4
>
>
> The documentation says that the HttpConnection is generally not thread-safe, but that
the shutdown() method is thread-safe.
> However this is not the case at present for the methods:
> org.apache.http.impl.SocketHttpClientConnection.shutdown()
> org.apache.http.impl.SocketHttpServerConnection.shutdown() 
> It reads the socket from the instance variable "this.socket" which is not synchronised,
final or volatile.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message