From: Greg Ames Date: Wed, 11 Dec 2002 22:09:40 +0000 (+0000) Subject: ap_get_mime_headers: whoops - need to insure that we use a configured X-Git-Tag: pre_ajp_proxy~2450 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2be5ade5dc1dd08e1e61b23f59564db3363385cb;p=apache ap_get_mime_headers: whoops - need to insure that we use a configured field size limit if there is one git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97875 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/protocol.c b/server/protocol.c index 097526b4a5..a0f2ad18af 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -766,7 +766,7 @@ AP_DECLARE(void) ap_get_mime_headers_core(request_rec *r, apr_bucket_brigade *bb int folded = 0; field = NULL; - rv = ap_rgetline(&field, DEFAULT_LIMIT_REQUEST_FIELDSIZE + 2, + rv = ap_rgetline(&field, r->server->limit_req_fieldsize + 2, &len, r, 0, bb); /* ap_rgetline returns APR_ENOSPC if it fills up the buffer before