Go to file
Maxim Dounin aa8c49d43e gRPC: clearing buffers in ngx_http_grpc_get_buf().
We copy input buffers to our buffers, so various flags might be
unexpectedly set in buffers returned by ngx_chain_get_free_buf().

In particular, the b->in_file flag might be set when the body was
written to a file in a different context.  With sendfile enabled this
in turn might result in protocol corruption if such a buffer was reused
for a control frame.

Make sure to clear buffers and set only fields we really need to be set.
2018-07-02 19:02:08 +03:00
auto Configure: restored "no-threads" in OpenSSL builds. 2018-03-22 15:56:07 +03:00
conf MIME: added most common OpenDocument types. 2017-10-02 19:07:01 +03:00
contrib Contrib: vim syntax, update core and 3rd party module directives. 2018-03-18 11:11:14 +02:00
docs nginx-1.14.1-RELEASE 2018-11-06 16:52:46 +03:00
misc Updated OpenSSL used for win32 builds. 2018-08-28 15:05:41 +03:00
src gRPC: clearing buffers in ngx_http_grpc_get_buf(). 2018-07-02 19:02:08 +03:00