]> git.kaiwu.me - nginx.git/commit
HTTP/2: fixed saving preread buffer to temp file (ticket #1143).
authorValentin Bartenev <vbart@nginx.com>
Mon, 28 Nov 2016 16:19:21 +0000 (19:19 +0300)
committerValentin Bartenev <vbart@nginx.com>
Mon, 28 Nov 2016 16:19:21 +0000 (19:19 +0300)
commit89f92b32430c1df2a25580d15f1b047cde8fb792
tree2a9ac1b27f788dd1399ea0f24f76139bda1e6320
parent4c6e31a8577087561cefbed86cf9771604794b8c
HTTP/2: fixed saving preread buffer to temp file (ticket #1143).

Previously, a request body bigger than "client_body_buffer_size" wasn't written
into a temporary file if it has been pre-read entirely.  The preread buffer
is freed after processing, thus subsequent use of it might result in sending
corrupted body or cause a segfault.
src/http/v2/ngx_http_v2.c