aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2021-08-03 20:50:30 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2021-08-03 20:50:30 +0300
commit15769c3918578dfa601303afa40d7acf9c36e4d9 (patch)
treea76ebc6efae5f6f4952a31b6c012a5c5ad1a79d0 /src/http/ngx_http_request.c
parentf8394db6fe9c73858032bd202bf0809d459a2f2f (diff)
downloadnginx-15769c3918578dfa601303afa40d7acf9c36e4d9.tar.gz
nginx-15769c3918578dfa601303afa40d7acf9c36e4d9.zip
SSL: set events ready flags after handshake.
The c->read->ready and c->write->ready flags might be reset during the handshake, and not set again if the handshake was finished on the other event. At the same time, some data might be read from the socket during the handshake, so missing c->read->ready flag might result in a connection hang, for example, when waiting for an SMTP greeting (which was already received during the handshake). Found by Sergey Kandaurov.
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions