The official NGINX Open Source repository.
Go to file
Maxim Dounin 60609f2372 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.
2019-10-17 16:02:03 +03:00
auto Unconditional compilation of the postpone filter. 2019-05-08 19:22:13 +03:00
conf MIME: added font/woff2 type (ticket #1243). 2018-06-15 17:29:55 +03:00
contrib Contrib: vim syntax, update core and 3rd party module directives. 2019-06-30 10:39:01 +03:00
docs nginx-1.17.4-RELEASE 2019-09-24 18:08:48 +03:00
misc Updated OpenSSL used for win32 builds. 2019-09-24 16:30:03 +03:00
src Event pipe: disabled c->read->available checking for SSL. 2019-10-17 16:02:03 +03:00
.hgtags release-1.17.4 tag 2019-09-24 18:08:48 +03:00