]> granicus.if.org Git - apache/commitdiff
ap_get_mime_headers: whoops - need to insure that we use a configured
authorGreg Ames <gregames@apache.org>
Wed, 11 Dec 2002 22:09:40 +0000 (22:09 +0000)
committerGreg Ames <gregames@apache.org>
Wed, 11 Dec 2002 22:09:40 +0000 (22:09 +0000)
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

index 097526b4a54a20c14c71d5a2bb4080d857d7ae6c..a0f2ad18afb779bc41a02f0e0d04328a99e8612b 100644 (file)
@@ -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