An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatically closed. The proper way to submit changes to nginx is via the nginx development mailing list, see http://nginx.org/en/docs/contributing_changes.html
Go to file
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
auto Upstream: ngx_http_upstream_random module. 2018-06-15 11:46:14 +03:00
conf MIME: added font/woff2 type (ticket #1243). 2018-06-15 17:29:55 +03:00
contrib Contrib: vim syntax, update core and 3rd party module directives. 2018-03-18 11:11:14 +02:00
docs nginx-1.15.0-RELEASE 2018-06-05 16:47:25 +03:00
misc Updated OpenSSL and PCRE used for win32 builds. 2018-04-03 03:54:09 +03:00
src gRPC: clearing buffers in ngx_http_grpc_get_buf(). 2018-07-02 19:02:08 +03:00
.hgtags release-1.15.0 tag 2018-06-05 16:47:25 +03:00