Mercurial > hg > nginx-quic
comparison src/os/win32/ngx_process.c @ 5993:5b549cc7f698
SSL: reset ready flag if recv(MSG_PEEK) found no bytes in socket.
Previously, connection hung after calling ngx_http_ssl_handshake() with
rev->ready set and no bytes in socket to read. It's possible in at least the
following cases:
- when processing a connection with expired TCP_DEFER_ACCEPT on Linux
- after parsing PROXY protocol header if it arrived in a separate TCP packet
Thanks to James Hamlin.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Mon, 02 Mar 2015 21:15:46 +0300 |
parents | e00b71ece8b3 |
children | 2b7dacb381ed |
comparison
equal
deleted
inserted
replaced
5992:174512857ccf | 5993:5b549cc7f698 |
---|