Mercurial > hg > nginx
comparison src/http/ngx_http_request.h @ 6238:8c6e71722aff
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.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Mon, 31 Aug 2015 23:25:16 +0300 |
parents | 187aa751ad62 |
children | 281863981d0b |
comparison
equal
deleted
inserted
replaced
6237:06e850859a26 | 6238:8c6e71722aff |
---|---|
437 | 437 |
438 ngx_http_log_handler_pt log_handler; | 438 ngx_http_log_handler_pt log_handler; |
439 | 439 |
440 ngx_http_cleanup_t *cleanup; | 440 ngx_http_cleanup_t *cleanup; |
441 | 441 |
442 unsigned count:16; | |
442 unsigned subrequests:8; | 443 unsigned subrequests:8; |
443 unsigned count:8; | |
444 unsigned blocked:8; | 444 unsigned blocked:8; |
445 | 445 |
446 unsigned aio:1; | 446 unsigned aio:1; |
447 | 447 |
448 unsigned http_state:4; | 448 unsigned http_state:4; |