]> 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)
commitf43e18807de8aeb02ef73d17f7889ae2d791a7ac
tree54d336533e8bdc834cb938a29c92d9b585b3ab0c
parent8c520c96212bb53fed4656f9e2bcc774c957e795
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