handle_established_connection(): Skip the poll()/select() calls
authorFabian Keil <fk@fabiankeil.de>
Wed, 10 Mar 2021 16:50:53 +0000 (17:50 +0100)
committerFabian Keil <fk@fabiankeil.de>
Fri, 12 Mar 2021 11:34:11 +0000 (12:34 +0100)
commit296e625ee14b5b4725d8dddec7483ce796cc488b
tree0f5b57aaa5a6701d1674978dd8428002ff4a2f26
parent846115a986a3101eef962034344bf35cf4a3d313
handle_established_connection(): Skip the poll()/select() calls

... if TLS data is pending on the server socket.

The TLS library may have already consumed all the data from the server
response in which case poll() and select() will not detect that data is
available to be read.

Fixes SF bug #926 reported by Wen Yue.
jcc.c