aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2013-03-07 18:07:16 +0000
committerValentin Bartenev <vbart@nginx.com>2013-03-07 18:07:16 +0000
commita32d3f8b6b63672fd96ca5ffb82e3e2ee0719850 (patch)
tree1ca78dab682bc7e2fa3e70a025f313eea09ffa0d /src/http/ngx_http_request.c
parent4815b3b2ee53687e60a6bf148aaf000a17a9a9b9 (diff)
downloadnginx-a32d3f8b6b63672fd96ca5ffb82e3e2ee0719850.tar.gz
nginx-a32d3f8b6b63672fd96ca5ffb82e3e2ee0719850.zip
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.
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index ea053057b..7fe30e57d 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -554,7 +554,6 @@ ngx_http_init_request(ngx_event_t *rev)
return;
}
- c->single_connection = 1;
c->destroyed = 0;
#if (NGX_HTTP_SSL)