nginx/src
Maxim Dounin 179c79ce8a Fixed handling of already closed connections.
In limit_req, auth_delay, and upstream code to check for broken
connections, tests for possible connection close by the client
did not work if the connection was already closed when relevant
event handler was set.  This happened because there were no additional
events in case of edge-triggered event methods, and read events
were disabled in case of level-triggered ones.

Fix is to explicitly post a read event if the c->read->ready flag
is set.
2021-03-28 17:45:39 +03:00
..
core Resolver: added missing event handling after reading. 2021-03-28 17:45:31 +03:00
event Events: fixed "port_dissociate() failed" alerts with eventport. 2021-03-28 17:45:29 +03:00
http Fixed handling of already closed connections. 2021-03-28 17:45:39 +03:00
mail Mail: fixed build without SSL. 2021-03-11 04:46:26 +03:00
misc Cpp test: added stream. 2020-10-13 07:44:09 +03:00
os Removed "ch" argument from ngx_pass_open_channel(). 2021-03-11 09:58:45 +03:00
stream SSL: fixed build by Sun C with old OpenSSL versions. 2021-03-05 17:16:13 +03:00