cliffjansen opened a new pull request #236: PROTON-2187: Python client: connection cleanup on close while still c… URL: https://github.com/apache/qpid-proton/pull/236 Proposed fix: Check if the close operation precedes the TCP handshake completion, and reproduce the missing cleanup steps. This requires remembering the transport's selectable so that it can be accessed at the tie of the close. The deleted lines in _handlers.py: # TODO: Don't understand why we need this now - how can we get PN_TRANSPORT until the connection succeeds? t._selectable = None were investigated. No PN_TRANSPORT events are generated before the TCP handshake completes, even with first SASL frame output.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org