noxxi / p5-io-socket-ssl

IO::Socket::SSL Perl Module
36 stars 62 forks source link

Wrong duplicate SSL_WANT_READ check in stop_SSL for sockets in blocking mode #142

Closed Yaribz closed 1 year ago

Yaribz commented 1 year ago

In the stop_SSL function, the workflow for sockets in blocking mode wrongly checks for SSL_WANT_READ twice instead of checking for SSL_WANT_READ and SSL_WANT_WRITE to perform the correct select operation.