Francois Godin created AMQCPP-640:
-------------------------------------

             Summary: Connect operation can hang indefinitely
                 Key: AMQCPP-640
                 URL: https://issues.apache.org/jira/browse/AMQCPP-640
             Project: ActiveMQ C++ Client
          Issue Type: Bug
          Components: Transports
    Affects Versions: 3.9.4
            Reporter: Francois Godin
            Assignee: Timothy Bish
         Attachments: ssl_connectionLost_freeze.patch

SSL_connect can hang indefinitely if for any reason (network lost, server 
crash, ...) the server does not send a response.

 

This can be reproduced with a VM (so that client and server are not on the same 
machine) and breakpoint in the server. Settings the breakpoint just before the 
server can negotiate with the client allow us to kill the network to the VM at 
that time. Thus, when resuming the server, the SSL exchange cannot continue. 
This cause ActiveMQ C++ to hang.

 

[https://stackoverflow.com/questions/11835203/openssl-ssl-connect-blocks-forever-how-to-set-timeout]

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to