aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2017-05-23 20:19:39 +0300
committerValentin Bartenev <vbart@nginx.com>2017-05-23 20:19:39 +0300
commitcce39344610ce83956379d369cf42a514d5bc258 (patch)
tree8a97c30300bd3c0d5a5a5cb874d40f70632b72d9 /src/http/ngx_http_request.c
parentbfe36ba3185a477d2f8ce120577308646173b736 (diff)
downloadnginx-cce39344610ce83956379d369cf42a514d5bc258.tar.gz
nginx-cce39344610ce83956379d369cf42a514d5bc258.zip
HTTP/2: fixed segfault when memory allocation failed.
If allocation of cleanup handler in the HTTP/2 header filter failed, then a stream might be freed with a HEADERS frame left in the output queue. Now the HEADERS frame is accounted in the queue before trying to allocate the cleanup handler.
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions