You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Rafael H. Schloming (JIRA)" <ji...@apache.org> on 2012/11/14 19:08:12 UTC

[jira] [Commented] (PROTON-134) pn_connector makes a blocking call to socket::connect

    [ https://issues.apache.org/jira/browse/PROTON-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497291#comment-13497291 ] 

Rafael H. Schloming commented on PROTON-134:
--------------------------------------------

I believe Ken had a fix for this at one point when the SSL impl was built into the driver rather than the transport. You might want to ping him about it.
                
> pn_connector makes a blocking call to socket::connect
> -----------------------------------------------------
>
>                 Key: PROTON-134
>                 URL: https://issues.apache.org/jira/browse/PROTON-134
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: 0.2
>            Reporter: Ted Ross
>            Assignee: Ted Ross
>            Priority: Blocker
>             Fix For: 0.3
>
>
> The proton-c driver makes a blocking call to 'connect' when establishing outgoing connections via pn_connector.  This breaks the asynchronous nature of the proton driver which should block only on pn_driver_wait.
> To work properly, pn_connector should return immediately and the connector should then appear in the driver's work list later when the transport connection is either successfully established or it fails for some reason.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira