summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2001-07-26 17:12:29 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2001-07-26 17:12:29 +0000
commit3e6771f3d3dd380a9130df74d6e2ab868d38e0fa (patch)
treed6e4a981c3aa680c859098df22e65f19cfe1fd9a
parente8e1c5c23d99cdb166e43a31885b98375742c096 (diff)
downloadhttpd-3e6771f3d3dd380a9130df74d6e2ab868d38e0fa.tar.gz
Something that needs looking at, all our long (unsigned long) body
lengths need to become apr_off_t. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89732 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--modules/http/http_protocol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c
index e1715ffa50..51e4458beb 100644
--- a/modules/http/http_protocol.c
+++ b/modules/http/http_protocol.c
@@ -1294,7 +1294,7 @@ AP_DECLARE(int) ap_setup_client_block(request_rec *r, int read_policy)
{
const char *tenc = apr_table_get(r->headers_in, "Transfer-Encoding");
const char *lenp = apr_table_get(r->headers_in, "Content-Length");
- long max_body;
+ apr_off_t max_body;
r->read_body = read_policy;
r->read_chunked = 0;
@@ -2490,7 +2490,7 @@ static int ap_set_byterange(request_rec *r)
int rv;
/* A single range */
- /* rvarse_byterange() modifies the contents, so make a copy */
+ /* parse_byterange() modifies the contents, so make a copy */
if ((rv = parse_byterange(apr_pstrdup(r->pool, range + 6), r->clength,
&range_start, &range_end)) <= 0) {
return rv;