comparison src/http/ngx_http_request.c @ 3180:0e420f3f8e18

clear r->keepalive to disable preventively calling ngx_http_set_keepalive() while request cleanup
author Igor Sysoev <igor@sysoev.ru>
date Fri, 02 Oct 2009 11:30:47 +0000
parents 60bc5cc68d3b
children 3ea03c1fe050
comparison
equal deleted inserted replaced
3179:74b74513ed59 3180:0e420f3f8e18
2409 hc->busy[0] = b; 2409 hc->busy[0] = b;
2410 hc->nbusy = 1; 2410 hc->nbusy = 1;
2411 } 2411 }
2412 } 2412 }
2413 2413
2414 r->keepalive = 0;
2415
2414 ngx_http_free_request(r, 0); 2416 ngx_http_free_request(r, 0);
2415 2417
2416 c->data = hc; 2418 c->data = hc;
2417 2419
2418 ngx_add_timer(rev, clcf->keepalive_timeout); 2420 ngx_add_timer(rev, clcf->keepalive_timeout);