You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Supun Kamburugamuva (JIRA)" <ji...@apache.org> on 2009/11/09 21:24:32 UTC

[jira] Commented: (SYNAPSE-595) Possible race condition in ConnectionPool implementation of nhhtp transport

    [ https://issues.apache.org/jira/browse/SYNAPSE-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12775112#action_12775112 ] 

Supun Kamburugamuva commented on SYNAPSE-595:
---------------------------------------------

HI Asanka,

I agree with you.

Thanks,
Supun..

> Possible race condition in ConnectionPool implementation of nhhtp transport
> ---------------------------------------------------------------------------
>
>                 Key: SYNAPSE-595
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-595
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>            Reporter: Supun Kamburugamuva
>            Assignee: Asankha C. Perera
>         Attachments: SYNAPSE-595.patch
>
>
> The nhttp transport connection pool uses double checked locking when it releases a connection. But double checked locking is not a recommended practice in Java and its use is avoided. Simply because it is not working. 

-- 
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@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org