You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2009/02/02 19:47:59 UTC
[jira] Moved: (HTTPCORE-182) HttpConnection.shutdown() not always
thread-safe
[ 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