Bug 64451

Summary: mod_reqtimeout + rewriteengine
Product: Apache httpd-2 Reporter: Etienne Adam <etienne.adam>
Component: mod_reqtimeoutAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 2.4.29   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description Etienne Adam 2020-05-19 11:18:45 UTC
Using latest Ubuntu version 2.4.29-1ubuntu4.13, we are seeing a strange behavior using the mod_reqtimeout module:

When enabling RewriteEngine in a vhost, the mod_reqtimeout module is not returning a 408 error, but interrupts the request and "pass" it to php without the body.

When disabling RewriteEngine, it works as expected, returning a 408 error.

This is similar to the bug #51103 but it's supposed to be fixed and this specific bug does not talk about RewriteEngine.

The req_modtimeout config is the standard one:

 RequestReadTimeout header=20-40,minrate=500
 RequestReadTimeout body=20,minrate=500