]> git.kaiwu.me - haproxy.git/commit
[MEDIUM] frontend: check for LI_O_TCP_RULES in the listener
authorWilly Tarreau <w@1wt.eu>
Mon, 31 May 2010 08:30:33 +0000 (10:30 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 14 Jun 2010 08:53:13 +0000 (10:53 +0200)
commita5c0ab200b80a478c5f9274f1e2d9f5d493842fc
tree02d75b9ec52cbb88674b3871c543c8e5791c7200
parent2281b7fd12ccf98caac305dab04591eee488a518
[MEDIUM] frontend: check for LI_O_TCP_RULES in the listener

The new LI_O_TCP_RULES listener option indicates that some TCP rules
must be checked upon accept on this listener. It is now checked by
the frontend and the L4 rules are evaluated only in this case. The
flag is only set when at least one tcp-req rule is present in the
frontend.

The L4 rules check function has now been moved to proto_tcp.c where
it ought to be.
include/proto/proto_tcp.h
include/types/protocols.h
src/cfgparse.c
src/frontend.c
src/proto_tcp.c