From 3e6771f3d3dd380a9130df74d6e2ab868d38e0fa Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Thu, 26 Jul 2001 17:12:29 +0000 Subject: [PATCH] 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 --- modules/http/http_protocol.c | 4 ++-- 1 file 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; -- 2.40.0