aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2019-10-17 16:02:03 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2019-10-17 16:02:03 +0300
commit60609f2372f62628191bf01ed856a46cd488921b (patch)
tree4ce6f5cfca54d0762e8d10f34465411143abcd4f /src/os/unix
parent3c84e4b70584b78e6a34a3233465cfa99d26b107 (diff)
downloadnginx-60609f2372f62628191bf01ed856a46cd488921b.tar.gz
nginx-60609f2372f62628191bf01ed856a46cd488921b.zip
Event pipe: disabled c->read->available checking for SSL.
In SSL connections, data can be buffered by the SSL layer, and it is wrong to avoid doing c->recv_chain() if c->read->available is 0 and c->read->pending_eof is set. And tests show that the optimization in question indeed can result in incorrect detection of premature connection close if upstream closes the connection without sending a close notify alert at the same time. Fix is to disable c->read->available optimization for SSL connections.
Diffstat (limited to 'src/os/unix')
0 files changed, 0 insertions, 0 deletions