The official NGINX Open Source repository.
Go to file
Roman Arutyunyan 46a2236f22 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.
2015-03-02 21:15:46 +03:00
auto Configure: typo fixed. 2015-02-11 20:18:55 +03:00
conf MIME: added application/xspf+xml MIME type (ticket #479). 2014-03-06 10:51:08 +01:00
contrib Contrib: add more directives to vim syntax. 2014-10-22 15:31:19 +02:00
docs nginx-1.7.10-RELEASE 2015-02-10 17:33:32 +03:00
misc Updated OpenSSL used for win32 builds. 2015-02-10 16:54:12 +03:00
src SSL: reset ready flag if recv(MSG_PEEK) found no bytes in socket. 2015-03-02 21:15:46 +03:00
.hgtags release-1.7.10 tag 2015-02-10 17:33:32 +03:00