From 9f59f39bafdc11a530e0cbf7ea65b51113f058b0 Mon Sep 17 00:00:00 2001 From: Eric Covener Date: Fri, 5 Nov 2010 13:55:38 +0000 Subject: [PATCH] PR#44758: document LimitRequestBody vs. proxy git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1031564 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/core.html.en | 13 ++++++++++++- docs/manual/mod/core.xml | 7 ++++++- docs/manual/mod/mod_proxy.html.en | 12 ++++++++++++ docs/manual/mod/mod_proxy.xml | 12 ++++++++++++ 4 files changed, 42 insertions(+), 2 deletions(-) diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en index aa06a9fbf0..785b8b6479 100644 --- a/docs/manual/mod/core.html.en +++ b/docs/manual/mod/core.html.en @@ -129,6 +129,12 @@ On Windows from Apache httpd 2.3.3 and later. send data first, such as ftp: or nntp:

AcceptFilter nntp none

+

The default protocol names are https for port 443 + and http for all other ports. To specify another protocol + is being used with a listening port, add the protocol + argument to the Listen + directive.

+

The default values on FreeBSD are:

AcceptFilter http httpready
@@ -2026,7 +2032,8 @@ from the client

This directive specifies the number of bytes from 0 (meaning unlimited) to 2147483647 (2GB) that are allowed in a - request body.

+ request body. See the note below for the limited applicability + to proxy requests.

The LimitRequestBody directive allows the user to set a limit on the allowed size of an HTTP request @@ -2053,6 +2060,10 @@ from the client

LimitRequestBody 102400

+ +

For a full description of how this directive is interpreted by + proxy requests, see the mod_proxy documentation.

+
diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index 282f2e29a1..44d9f3dee4 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -2024,7 +2024,8 @@ from the client

This directive specifies the number of bytes from 0 (meaning unlimited) to 2147483647 (2GB) that are allowed in a - request body.

+ request body. See the note below for the limited applicability + to proxy requests.

The LimitRequestBody directive allows the user to set a limit on the allowed size of an HTTP request @@ -2051,6 +2052,10 @@ from the client LimitRequestBody 102400 + +

For a full description of how this directive is interpreted by + proxy requests, see the mod_proxy documentation.

+
diff --git a/docs/manual/mod/mod_proxy.html.en b/docs/manual/mod/mod_proxy.html.en index 014a9807ab..cf5d94009f 100644 --- a/docs/manual/mod/mod_proxy.html.en +++ b/docs/manual/mod/mod_proxy.html.en @@ -396,6 +396,18 @@ proxy-sendchunked minimizes resource usage by using chunked encoding.

+

Under some circumstances, the server must spool request bodies + to disk to satisfy the requested handling of request bodies. For + example, this spooling will occur if the original body was sent with + chunked encoding (and and is large), but the administrator has + asked for backend requests to be sent with Content-Length or as HTTP/1.0. + This spooling can also occur if the request body already has a + Content-Length header, but the server is configured to filter incoming + request bodies.

+ +

LimitRequestBody only applies to + request bodies that the server will spool to disk

+
top

Reverse Proxy Request Headers

diff --git a/docs/manual/mod/mod_proxy.xml b/docs/manual/mod/mod_proxy.xml index 96f3f44ea9..ba569933ff 100644 --- a/docs/manual/mod/mod_proxy.xml +++ b/docs/manual/mod/mod_proxy.xml @@ -366,6 +366,18 @@ proxy-sendchunked minimizes resource usage by using chunked encoding.

+

Under some circumstances, the server must spool request bodies + to disk to satisfy the requested handling of request bodies. For + example, this spooling will occur if the original body was sent with + chunked encoding (and and is large), but the administrator has + asked for backend requests to be sent with Content-Length or as HTTP/1.0. + This spooling can also occur if the request body already has a + Content-Length header, but the server is configured to filter incoming + request bodies.

+ +

LimitRequestBody only applies to + request bodies that the server will spool to disk

+
Reverse Proxy Request Headers -- 2.40.0