commit | e6ccafef01f597be624f54147e3daab1f67804d9 | [log] [tgz] |
---|---|---|
author | Valentin Bartenev <vbart@nginx.com> | Mon Nov 28 19:19:21 2016 +0300 |
committer | Valentin Bartenev <vbart@nginx.com> | Mon Nov 28 19:19:21 2016 +0300 |
tree | 2a9ac1b27f788dd1399ea0f24f76139bda1e6320 | |
parent | 523e337c424aae5c149f2943eacc7b1ed082f2d2 [diff] |
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.