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

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

Ted Ross created PROTON-134:
-------------------------------

             Summary: 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
            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

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

Posted by "Rafael H. Schloming (JIRA)" <ji...@apache.org>.
    [ 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

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

Posted by "Ted Ross (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PROTON-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Ross reassigned PROTON-134:
-------------------------------

    Assignee: Ted Ross
    
> 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