comparison src/http/ngx_http_request.c @ 5104:93713d4b99c3

Removed c->single_connection flag. The c->single_connection was intended to be used as lock mechanism to serialize modifications of request object from several threads working with client and upstream connections. The flag is redundant since threads in nginx have never been used that way.
author Valentin Bartenev <vbart@nginx.com>
date Thu, 07 Mar 2013 18:07:16 +0000
parents 05a56ebb084a
children 4d67b696388f
comparison
equal deleted inserted replaced
5103:05a56ebb084a 5104:93713d4b99c3
552 ngx_destroy_pool(r->pool); 552 ngx_destroy_pool(r->pool);
553 ngx_http_close_connection(c); 553 ngx_http_close_connection(c);
554 return; 554 return;
555 } 555 }
556 556
557 c->single_connection = 1;
558 c->destroyed = 0; 557 c->destroyed = 0;
559 558
560 #if (NGX_HTTP_SSL) 559 #if (NGX_HTTP_SSL)
561 if (c->ssl) { 560 if (c->ssl) {
562 r->main_filter_need_in_memory = 1; 561 r->main_filter_need_in_memory = 1;