]> git.kaiwu.me - nginx.git/commit
HTTP/2: avoid adding Content-Length for requests without body.
authorValentin Bartenev <vbart@nginx.com>
Thu, 16 Jun 2016 17:55:11 +0000 (20:55 +0300)
committerValentin Bartenev <vbart@nginx.com>
Thu, 16 Jun 2016 17:55:11 +0000 (20:55 +0300)
commitbf5f915a019018f914c3f7c59d4a8baf27b93d67
treee9c6e1e1dc347fd612b3c0fbc9275d4440c9f7b2
parentcd2085be0c497153f9311f0a1986c6be6a18cff4
HTTP/2: avoid adding Content-Length for requests without body.

There is no reason to add the "Content-Length: 0" header to a proxied request
without body if the header isn't presented in the original request.

Thanks to Amazon.
src/http/v2/ngx_http_v2.c