nginx/src
Maxim Dounin d842b4e5e0 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
..
core Added FreeBSD support for "listen ... reuseport". 2018-07-02 13:54:33 +03:00
event SSL: removed extra prototype. 2018-06-06 13:31:05 +03:00
http gRPC: clearing buffers in ngx_http_grpc_get_buf(). 2018-07-02 19:02:08 +03:00
mail SSL: deprecated the "ssl" directive. 2018-04-25 14:57:24 +03:00
misc Style: aligned ngx_null_command. 2017-07-12 11:34:04 +03:00
os Win32: fixed comment in ngx_gettimeofday() calculations. 2018-05-29 11:47:32 +03:00
stream Upstream: ngx_http_upstream_random module. 2018-06-15 11:46:14 +03:00