diff options
author | Valentin Bartenev <vbart@nginx.com> | 2015-08-31 23:25:16 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2015-08-31 23:25:16 +0300 |
commit | 4ec67cf86fe3ae09692969b175978b57f8b180ad (patch) | |
tree | 93c7d51542930f997155876086933ca66cb9e575 /src/http/ngx_http_request.h | |
parent | 0d3b15729ce1340098f098a1e3342f13183fdde2 (diff) | |
download | nginx-4ec67cf86fe3ae09692969b175978b57f8b180ad.tar.gz nginx-4ec67cf86fe3ae09692969b175978b57f8b180ad.zip |
Added protection against r->main->count overflow by subrequests.
This overflow has become possible after the change in 06e850859a26,
since concurrent subrequests are not limited now and each of them is
counted in r->main->count.
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r-- | src/http/ngx_http_request.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index 3954de3f1..7e56c399d 100644 --- a/src/http/ngx_http_request.h +++ b/src/http/ngx_http_request.h @@ -439,8 +439,8 @@ struct ngx_http_request_s { ngx_http_cleanup_t *cleanup; + unsigned count:16; unsigned subrequests:8; - unsigned count:8; unsigned blocked:8; unsigned aio:1; |