DescriptionIncrementing a counter on empty SSL reads is not the correct way to determine ssl_eof
(http://code.sixapart.com/trac/djabberd/changeset/758)
Instead we should check the error code to see if it is one of the SSL errors for which we are supposed to retry( http://www.openssl.org/docs/ssl/SSL_get_error.html)
Patch Set 1 #Patch Set 2 : fixes #Patch Set 3 : response to comments #
MessagesTotal messages: 3
|