MAJOR: session: pass applet return traffic through the response analysers
authorWilly Tarreau <w@1wt.eu>
Sat, 30 Nov 2013 08:21:49 +0000 (09:21 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 9 Dec 2013 14:40:22 +0000 (15:40 +0100)
commitfac4bd1492b37640ed5e54c14bdd996ffc3648eb
tree74eff084a18bbbd1590677ba9689b1835f4cc660
parentd84fb5e60f9ab943b2d3b0080ad9b1acf56ef8f0
MAJOR: session: pass applet return traffic through the response analysers

Now that applets work like real connections, there is no reason for
them to evade the response analysers. The stats applet emits valid
HTTP responses, it can flow through the HTTP response analyser just
fine. This now allows http-response/rsprep/rspadd rules to be applied
on top of stats. Cookie insertion does nothing since applets are not
servers and thus do not have a cookie. We can imagine compression to be
applied later if the stats output is emitted in chunks and in HTTP/1.1.

A minor visible effect of this change is that there is no more "-1" in
the timers presented in the logs when viewing the stats, all timers are
real.
src/session.c