mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-04 18:43:33 +02:00
BUG/MINOR: promex: Don't forget to consume the request on error
When the promex applet triggers an error, for instance because the URI is invalid, we must still take care to consume the request. Otherwise, the error will be handled by HTTP analyzers as a server abort. This patch must be backported as far as 2.0.
This commit is contained in:
@@ -1617,6 +1617,7 @@ static void promex_appctx_handle_io(struct appctx *appctx)
|
||||
res->flags |= CF_READ_EVENT;
|
||||
sc_shutr(sc);
|
||||
sc_shutw(sc);
|
||||
goto out;
|
||||
}
|
||||
|
||||
struct applet promex_applet = {
|
||||
|
||||
Reference in New Issue
Block a user