From b145b067e296fd0c72d764e36db7a97102045b2c Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 15 Jun 2005 18:33:41 +0000 Subject: nginx-0.1.36-RELEASE import *) Change: if the request header has duplicate the "Host", "Connection", "Content-Length", or "Authorization" lines, then nginx now returns the 400 error. *) Change: the "post_accept_timeout" directive was canceled. *) Feature: the "default", "af=", "bl=", "deferred", and "bind" parameters of the "listen" directive. *) Feature: the FreeBSD accept filters support. *) Feature: the Linux TCP_DEFER_ACCEPT support. *) Bugfix: the ngx_http_autoindex_module did not support the file names in UTF-8. *) Bugfix: the new log file can be rotated by the -USR1 signal only if the reconfiguration by the -HUP signal was made twice. --- src/event/ngx_event_accept.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/event') diff --git a/src/event/ngx_event_accept.c b/src/event/ngx_event_accept.c index e31253367..0c21e72ed 100644 --- a/src/event/ngx_event_accept.c +++ b/src/event/ngx_event_accept.c @@ -247,6 +247,9 @@ ngx_event_accept(ngx_event_t *ev) if (ev->deferred_accept) { rev->ready = 1; +#if (NGX_HAVE_KQUEUE) + rev->available = 1; +#endif } c->ctx = ls->ctx; -- cgit