grs commented on pull request #1129:
URL: https://github.com/apache/qpid-dispatch/pull/1129#issuecomment-824779284


   > Problem: This branch hangs if there is no server
   
   I believe I have a fix for this in 
https://github.com/ChugR/qpid-dispatch/pull/81
   
   > On the connector side server connection there are two events:
   > 
   > * pn_proactor_raw_connect()
   > * DISCONNECTED event
   > 
   > The tcp connector side must go through enough initialization so that the 
listener-connector links are established. Then the connector side can tear down 
the links and the client connection will close.
   
   If the DISCONNECTED happens before CONNECTED, then the initial_delivery is 
released. The fix above ensures this is handled correctly and the connection is 
closed.
   


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



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

Reply via email to