Closed ufobat closed 3 years ago
I don't think it is possible to handle lack of ressources in a sane way. For example lack of file handles might also result in failed certificate verification of the openssl library cannot open CA certificates for checking. Lack of memory will also cause strange problems. Lack of CPU resources again others. I think one need to make sure that sufficient ressources are available for the application to run.
Hello,
I am not sure if this is even a bug or a documentation issue.
I was creating a couple of ssl connections with
IO::Socket::SSL->new(...)
. unfortunatelly I was running out of open file descriptors. Of course the related files need to be read out but the code examples in the documentation lead to the assumption that you "just" need to check the return value of IO::Socket::SSL->new().Would it make sense to catch this error inside the API and just return undef for
IO::Socket::SSL->new()
and set the error variable?