Bug 63959

Summary: Empty POST request to a live node after a node failure
Product: Apache httpd-2 Reporter: Domenico Briganti <dometec>
Component: mod_proxy_balancerAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: david.foust
Priority: P2 Keywords: FixedInTrunk, PatchAvailable
Version: 2.4.41   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description Domenico Briganti 2019-11-25 09:01:53 UTC
I've configured an Apache HTTPd as a load balancer to forward request towards two instances of ApplicationServer, using mod_proxy, mod_proxy_balancer and mod_lbmethod_byrequests. 
I started only one ApplicationServer.
When the mod_proxy sends a request to power off node understand that this is not alive and send the same request to other (live) node, but with an empty body.

I've prepared a test case on github to verify the bug: 

https://github.com/dometec/apache_modproxy_bug

The body of the POST Request is less 2KB (30 byte in the test case on github).
Comment 1 Ruediger Pluem 2019-11-27 07:31:48 UTC
This should be already fixed in trunk by r1869216 and r1869224. Can you please verify?
Comment 2 Yann Ylavic 2020-03-03 21:43:49 UTC
2.4.x backport proposed in bug 63891, switching there.

*** This bug has been marked as a duplicate of bug 63891 ***