[MINOR] frontend: add a new analyser to parse a proxied connection
authorWilly Tarreau <w@1wt.eu>
Fri, 15 Oct 2010 21:23:19 +0000 (23:23 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 30 Oct 2010 17:04:38 +0000 (19:04 +0200)
commit8b0cbf99693e3cf41f3b66b9495da0ba30fcad39
tree18b1bfd98e38c0ba972a3724e2820c3e4e4f7039
parent74172757c7b5633e00eac065bf6306f7338fbbee
[MINOR] frontend: add a new analyser to parse a proxied connection

The introduction of a new PROXY protocol for proxied connections requires
an early analyser to decode the incoming connection and set the session
flags accordingly.

Some more work is needed, among which setting a flag on the session to
indicate it's proxied, and copying the original parameters for later
comparisons with new ACLs (eg: real_src, ...).
include/proto/frontend.h
src/frontend.c