boost::asio::ssl::stream handshake hang up in reconnection
 
            
            
            
            
                9 Mar
                
                    2017
                
            
            
                9 Mar
                
                '17
                
            
            
            
        
    
                10:37 p.m.
            
        Hi, I am running boost socket communication on Debian 8, the following client code works fine when it connected to the server the first time. s.lowest_layer().connect(*endpoint_iterator++, error); s.handshake(boost::asio::ssl::stream_base::client, error); But when the server connection lost, the client would try to run above code repeatedly until the server connection was resumed, the it passed the first line of s.lowest_layer().connect without error, but the it stuck at s.handshake(boost::asio::ssl::stream_base::client, error), the handshake hang up. What I could be missing here? Thank you.
        3158
        
      
          Age (days ago)
        
      
        3158
        
    
          Last active (days ago)
        
        
        
        0 comments
    
    
        
        1 participants
    
    
    
    
    
    
    
    
    participants (1)
- 
                 jupiter jupiter