comparison src/http/ngx_http_event.c @ 47:d81326c3b21b

nginx-0.0.1-2003-01-15-10:02:27 import
author Igor Sysoev <igor@sysoev.ru>
date Wed, 15 Jan 2003 07:02:27 +0000
parents f1ee46c036a4
children b288069a8696
comparison
equal deleted inserted replaced
46:f84a648211f4 47:d81326c3b21b
141 { 141 {
142 ngx_connection_t *c; 142 ngx_connection_t *c;
143 ngx_http_request_t *r; 143 ngx_http_request_t *r;
144 144
145 c = (ngx_connection_t *) ev->data; 145 c = (ngx_connection_t *) ev->data;
146 c->sent = 0;
146 147
147 ngx_test_null(r, ngx_pcalloc(c->pool, sizeof(ngx_http_request_t)), 148 ngx_test_null(r, ngx_pcalloc(c->pool, sizeof(ngx_http_request_t)),
148 NGX_ERROR); 149 NGX_ERROR);
149 150
150 c->data = r; 151 c->data = r;
495 ngx_http_core_loc_conf_t *conf; 496 ngx_http_core_loc_conf_t *conf;
496 497
497 c = (ngx_connection_t *) ev->data; 498 c = (ngx_connection_t *) ev->data;
498 r = (ngx_http_request_t *) c->data; 499 r = (ngx_http_request_t *) c->data;
499 500
500 c->sent = 0;
501
502 rc = ngx_http_output_filter(r, NULL); 501 rc = ngx_http_output_filter(r, NULL);
503 502
504 ngx_log_debug(ev->log, "output filter in writer: %d" _ rc); 503 ngx_log_debug(ev->log, "output filter in writer: %d" _ rc);
505 504
506 if (rc == NGX_AGAIN) { 505 if (rc == NGX_AGAIN) {