You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2014/02/05 09:05:50 UTC
[Bug 56109] New: Cannot increase the read limit
https://issues.apache.org/bugzilla/show_bug.cgi?id=56109
Bug ID: 56109
Summary: Cannot increase the read limit
Product: Apache httpd-2
Version: 2.5-HEAD
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: libapreq2
Assignee: bugs@httpd.apache.org
Reporter: jerome.berger@sagemcom.com
Created attachment 31284
--> https://issues.apache.org/bugzilla/attachment.cgi?id=31284&action=edit
Patch to allow increasing the read limit
Neither the APREQ2_ReadLimit config setting nor the apreq_read_limit_set
function (*) are able to increase the limit although they can lower it. Looking
through the code of libapreq2, there are some comments that wonder why (e.g.
line 55 of filter.c).
I'm using version 2.13 of libapreq2.
The attached patch fixes the issue and does not appear to cause any trouble.
(*) Here is how I'm calling apreq_read_limit_set:
apreq_handle_t* req = apreq_handle_apache2 (r);
apr_status_t status;
if ((status = apreq_read_limit_set (req, 100*1024*1024)) != APR_SUCCESS) {
ap_log_rerror (APLOG_MARK,
APLOG_EMERG,
status,
r,
"Could not set the read limit to 100M");
}
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 56109] Cannot increase the read limit
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56109
Mike Rumph <mi...@oracle.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |PatchAvailable
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org