RE: [BUG] more problems with SSL

"Oded Arbel" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
> From: Stipe Tolj [mailto:[email protected]]
> 
> BTW, I'm wondering if the part:
> 
>     /*
>      * make the socket is non-blocking while we do SSL_connect
>      */
>     if (socket_set_blocking(ret->fd, 0) < 0) {
>         goto error;
>     }
> 
> is necessary in conn_open_ssl() because the socket is already set to
> non-blocking mode in conn_wrap_fd()?


I don't know - I guess. just changed the minimum, so 1 became 0 and
'blocking' became 'non-blocking'..
I still think it's better to leave that as it is - better safe then
sorry, but if you're sure that the socket is non-blocking, I won't stop
you from doing what you think is right :-)

--
Oded Arbel
m-Wise Inc.
[email protected]
(972)-67-340014
(972)-9-9581711 (ext: 116)

::..
Those who say it cannot be done should not interrupt those who are doing
it!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.