diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-02-11 07:19:26 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-02-11 07:19:26 +0000 |
commit | dfe63ad1833a8d6d9398371ba595a1d8a19d6148 (patch) | |
tree | 6e3d88fea11d0a4f35e0672937aa945b8f5d4916 /src/http/ngx_http_request.c | |
parent | 54498db7a2a2e7e74fba61ec073b248da05e999e (diff) | |
download | nginx-dfe63ad1833a8d6d9398371ba595a1d8a19d6148.tar.gz nginx-dfe63ad1833a8d6d9398371ba595a1d8a19d6148.zip |
nginx-0.0.2-2004-02-11-10:19:26 import
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r-- | src/http/ngx_http_request.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index 90605be6c..84abfdabd 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -84,7 +84,7 @@ void ngx_http_init_connection(ngx_connection_t *c) rev = c->read; rev->event_handler = ngx_http_init_request; - /* STUB: epoll edge */ c->write->event_handler = ngx_http_empty_handler; + /* STUB: epoll */ c->write->event_handler = ngx_http_empty_handler; if (rev->ready) { /* deferred accept, aio, iocp, epoll */ @@ -1180,8 +1180,6 @@ static void ngx_http_set_keepalive(ngx_http_request_t *r) } h = c->buffer; - wev = c->write; - wev->event_handler = ngx_http_empty_handler; if (h->pos < h->last) { @@ -1216,6 +1214,8 @@ static void ngx_http_set_keepalive(ngx_http_request_t *r) h->pos = h->last = h->start; rev->event_handler = ngx_http_keepalive_handler; + wev = c->write; + wev->event_handler = ngx_http_empty_handler; if (wev->active) { if (ngx_event_flags & NGX_HAVE_KQUEUE_EVENT) { |