]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_proxy_http: always stream the request body by default.
authorYann Ylavic <ylavic@apache.org>
Fri, 19 Jun 2020 14:52:08 +0000 (14:52 +0000)
committerYann Ylavic <ylavic@apache.org>
Fri, 19 Jun 2020 14:52:08 +0000 (14:52 +0000)
commitd17005b82d7821e7e023728b911750d0bdf393f8
treeb70c51dd8557f199e8afdb2c63bb12ddbfe780c5
parent943a278020458aa9ee863a722fb042861bc889ba
mod_proxy_http: always stream the request body by default.

Simplify streaming by using Content-Length if the length is available, or
chunked Transfer-Encoding otherwise.

Spooling to memory/file will only be used for HTTP/1.0 requests or if
proxy-sendcl is set.

This removes the handling of proxy-sendchunked and proxy-sendchunks.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1878991 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/proxy/mod_proxy_http.c