Ticket 50329 - Possible Security Issue: DOS due to ioblocktimeout not applying to TLS
A secure socket is configured in blocking mode. If an event
is detected on a secure socket a worker, tries to read the request.
The read can hang indefinitely if there is nothing to read.
As a consequence ioblocktimeout is not enforced when reading secure socket
The fix is specific to secure socket read.
Before reading it polls the socket for a read. The socket is poll
(with a 0.1s timeout) until read is possible or sum of poll timeout
is greater than ioblocktimeout.
Reviewed by: Mark Reynolds
Platforms tested: F28
Flag Day: no
Doc impact: no