Summary: | Default body_min_rate not enabled in mod_reqtimeout | ||
---|---|---|---|
Product: | Apache httpd-2 | Reporter: | Oliver H <oliver> |
Component: | mod_reqtimeout | Assignee: | Apache HTTPD Bugs Mailing List <bugs> |
Status: | REOPENED --- | ||
Severity: | major | CC: | apache-bugs.a2, pmenzel+bz.apache.org |
Priority: | P2 | Keywords: | FixedInTrunk |
Version: | 2.4.39 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Attachments: | Fix reqtimeout macros lowercase |
Description
Oliver H
2019-04-08 16:46:26 UTC
Thanks for the report. Do you set RequestReadTimeout partly (e.g. body= but no ,MinRate=) or not at all? I would assume that defining a simple body=20 would automatically stop minrate from working, so no: my report is based on when there are no RequestReadTimeout declarations in any conf file (I grepped thoroughly to confirm). Oliver Created attachment 36514 [details]
Fix reqtimeout macros lowercase
The macros MRT_DEFAULT_*_MIN_RATE which contain the default value were partially made lowercase for some magic, unfortunately the ones tested in reqtimeout_hooks() were not renammed, hence the bug.
Could you please try with this patch?
Fixed in r1857129, will propose a backport to next 2.4.x. Huge thanks for the quick work, I can confirm the patch fixes the issue. *** Bug 63329 has been marked as a duplicate of this bug. *** *** Bug 63617 has been marked as a duplicate of this bug. *** This has been backported in 2.4.x in r1859376. This is part of 2.4.40. I'm using Apache/2.4.54 on AWS Linux2 (Red Hat) 2 server, mod_jk Tomcat9 and Apache. I'm having this same issue for a large file uploads, although my app still processes, any file over 2GB breaks the file upload to the server. I was looking for RequestReadTimeout statement in the httpd.conf file but it does not exist, how can I change this? One other thing, if I append :8443 at the end of my url, then I'm able to upload large files. Can someone help me with this? |