in reply to Re^4: IO::Socket::SSL sometimes says 'SSL wants a read first'
in thread IO::Socket::SSL sometimes says 'SSL wants a read first'
What does the module user get for being able to handle EINTR errors himself that justifies not hidden those events inside the library?
IMO, leaving EINTR handling to the user just makes writing reliable software with this module much harder. I am sure almost no code using IO::Socket::SSL out there actually handles EINTR correctly, and for those few cases, probably none does anything besides just retrying the last operation.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: IO::Socket::SSL sometimes says 'SSL wants a read first'
by noxxi (Pilgrim) on Apr 21, 2017 at 05:03 UTC | |
by salva (Canon) on Apr 21, 2017 at 07:46 UTC | |
by noxxi (Pilgrim) on Apr 21, 2017 at 09:01 UTC | |
by salva (Canon) on Apr 21, 2017 at 09:34 UTC |