]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: stats: Wait the body before processing POST requests
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 15 Aug 2019 20:26:48 +0000 (22:26 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 15 Aug 2019 20:26:50 +0000 (22:26 +0200)
commitbd9e842866ac759418a5f9e8832d2806eeb00bd8
treec596b04ac27e65d8830f9af5c5561c8a2df09033
parent81921b13716e738dd49462cd79375f90a2bb35cb
BUG/MINOR: stats: Wait the body before processing POST requests

The stats applet waits to have a full body to process POST requests. Because
when it is waiting for the end of a request it does not produce anything, the
applet may be blocked. The client side is blocked because the stats applet does
not consume anything and the applet is waiting because all the body is not
received. Registering the analyzer AN_REQ_HTTP_BODY when a POST request is sent
for the stats applet solves the issue.

This patch must be backported to 2.0.
src/http_ana.c