noxxi / p5-io-socket-ssl

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

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

Closed Yaribz closed 10 months ago

Yaribz commented 10 months 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.