Bug 63959 - Empty POST request to a live node after a node failure
Summary: Empty POST request to a live node after a node failure
Status: RESOLVED DUPLICATE of bug 63891
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_proxy_balancer (show other bugs)
Version: 2.4.41
Hardware: PC Linux
: P2 normal with 1 vote (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: FixedInTrunk, PatchAvailable
Depends on:
Blocks:
 
Reported: 2019-11-25 09:01 UTC by Domenico Briganti
Modified: 2020-03-03 21:43 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***