diff options
author | Justin Erenkrantz <jerenkrantz@apache.org> | 2002-01-25 02:20:00 +0100 |
---|---|---|
committer | Justin Erenkrantz <jerenkrantz@apache.org> | 2002-01-25 02:20:00 +0100 |
commit | cb0ab15d4b92d378cdbfddd6c81f10ab64c5b84f (patch) | |
tree | eea5ab7f233e799ac831729ee44f0a7f1aa652fa /server/protocol.c | |
parent | Change ap_get_brigade prototype to remove *readbytes in favor of readbytes. (diff) | |
download | apache2-cb0ab15d4b92d378cdbfddd6c81f10ab64c5b84f.tar.xz apache2-cb0ab15d4b92d378cdbfddd6c81f10ab64c5b84f.zip |
Somehow, I lost this condition when I changed to account for ap_rgetline.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93016 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/protocol.c')
-rw-r--r-- | server/protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/protocol.c b/server/protocol.c index a3facd2c82..5058d41e07 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -661,7 +661,7 @@ static void get_mime_headers(request_rec *r) * finding the end-of-line. This is only going to happen if it * exceeds the configured limit for a field size. */ - if (rv == APR_ENOSPC) { + if (rv == APR_ENOSPC || len > r->server->limit_req_fieldsize) { r->status = HTTP_BAD_REQUEST; apr_table_setn(r->notes, "error-notes", apr_pstrcat(r->pool, |