Mercurial > hg > nginx
comparison src/http/ngx_http_request.c @ 169:edf29bb717da
nginx-0.0.1-2003-10-31-19:05:33 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 31 Oct 2003 16:05:33 +0000 |
parents | 389d7ee9fa60 |
children | c0552e5ab567 |
comparison
equal
deleted
inserted
replaced
168:ba5dbb949603 | 169:edf29bb717da |
---|---|
93 ngx_http_close_connection(c); | 93 ngx_http_close_connection(c); |
94 return; | 94 return; |
95 } | 95 } |
96 | 96 |
97 #if 0 | 97 #if 0 |
98 /* TODO: learn SO_SNDBUF (to use in zerocopy) via kqueue's EV_CLEAR event */ | |
99 | |
98 c->write->ready = 0; | 100 c->write->ready = 0; |
99 c->write->event_handler = ngx_http_dummy; | 101 c->write->event_handler = ngx_http_dummy; |
100 | 102 |
101 if (ngx_handle_write_event(c->write, 0) == NGX_ERROR) { | 103 if (ngx_handle_write_event(c->write, 0) == NGX_ERROR) { |
102 ngx_http_close_connection(c); | 104 ngx_http_close_connection(c); |