HTTP/2: fixed saving preread buffer to temp file (ticket #1143).
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.

hy0kl/nginx,hy0kl/nginx,hy0kl/nginx