]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5325 i'll put the nonblocking in but I still think this is a problem with openssl...
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 9 May 2013 17:56:42 +0000 (12:56 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 9 May 2013 17:56:59 +0000 (12:56 -0500)
libs/iksemel/src/stream.c

index 850b9ba259f367248873ef68ebf617fb532b5ea2..5be98363f86036e6361ff733d76b77a2114c5c18 100644 (file)
@@ -239,8 +239,8 @@ handshake (struct stream_data *data)
        if( SSL_set_fd(data->ssl, (int)(intptr_t)data->sock) != 1 ) return IKS_NOMEM;
        
        /* Set both the read and write BIO's to non-blocking mode */
-       //BIO_set_nbio(SSL_get_rbio(data->ssl), 1);
-       //BIO_set_nbio(SSL_get_wbio(data->ssl), 1);
+       BIO_set_nbio(SSL_get_rbio(data->ssl), 1);
+       BIO_set_nbio(SSL_get_wbio(data->ssl), 1);
 
        finished = 0;