From fc8adea35f7afdbf43ba7f8cebc73f6b1999be5f Mon Sep 17 00:00:00 2001 From: Greg Ames Date: Wed, 11 Dec 2002 22:09:40 +0000 Subject: [PATCH] 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 --- server/protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0