comparison src/event/ngx_event_timer.c @ 5103:05a56ebb084a

Respect the new behavior of TCP_DEFER_ACCEPT. In Linux 2.6.32, TCP_DEFER_ACCEPT was changed to accept connections after the deferring period is finished without any data available. (Reading from the socket returns EAGAIN in this case.) Since in nginx TCP_DEFER_ACCEPT is set to "post_accept_timeout", we do not need to wait longer if deferred accept returns with no data.
author Valentin Bartenev <vbart@nginx.com>
date Thu, 07 Mar 2013 17:59:27 +0000
parents 876e6b0814a5
children 3377f9459e99
comparison
equal deleted inserted replaced
5102:f597c9be5c92 5103:05a56ebb084a