noxxi / p5-io-socket-ssl

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

Errors occurring during SSL shutdown in stop_SSL are ignored for blocking sockets #144

Closed Yaribz closed 10 months ago

Yaribz commented 10 months ago

In the stop_SSL function, errors occurring during the Net::SSLeay::shutdown call are only dealt with if the socket was configured as non-blocking.

For sockets configured in blocking mode, SSL shutdown errors are silently ignored, which has two drawbacks: