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

ASF subversion and git services commented on PROTON-2673:
---------------------------------------------------------

Commit 47b958f271ea0637046c9b85de4690bd4dbebb1d in qpid-proton's branch 
refs/heads/main from Clifford Jansen
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=47b958f27 ]

PROTON-2673: epoll raw connections - allow delivery of wake events prior to 
successful connect.


> Proactor hangs if pn_raw_connection_wake() is called with outstanding 
> connection attempt
> ----------------------------------------------------------------------------------------
>
>                 Key: PROTON-2673
>                 URL: https://issues.apache.org/jira/browse/PROTON-2673
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: proton-c-0.38.0, proton-c-0.39.0
>            Reporter: Ken Giusti
>            Assignee: Clifford Jansen
>            Priority: Major
>         Attachments: raw_wake.c
>
>
> If pn_raw_connection_wake() is called on a raw connection that is attempting 
> to connect  no further proactor events are generated and the proactor hangs.
> Important observations:
>  * This only occurs {_}if there is no server available at the target address 
> for the connection{_}. If a server is present then the PN_RAW_CONNECTION_WAKE 
> and PN_RAW_CONNECTION_CONNECTED events arrive properly (in that order).
>  * The host address is "localhost" - using "127.0.0.1" or "::1" instead 
> works. localhost on my machine maps to both "127.0.0.1" and "::1"
>  * Extra bonus: if you move the call to pn_raw_connection_wake() to _before_ 
> the call to pn_proactor_raw_connect() a crash occurs
> See attached reproducer.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to