]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] acl: add HTTP protocol detection (req_proto_http)
authorWilly Tarreau <w@1wt.eu>
Fri, 10 Jul 2009 22:06:00 +0000 (00:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 12 Jul 2009 06:06:20 +0000 (08:06 +0200)
commit2492d5b4d65d218f59fbf510764379fb796d6465
treee94caf3d53a2d04d1af15fb1cb2a9486ff895625
parentbf2886274c38c281d8b3c9d9ad92b61bbcb2c503
[MINOR] acl: add HTTP protocol detection (req_proto_http)

Now that we can perform TCP-based content switching, it makes sense
to be able to detect HTTP traffic and act accordingly. We already
have an HTTP decoder, we just have to call it in order to detect HTTP
protocol. Note that since the decoder will automatically fill in the
interesting fields of the HTTP transaction, it would make sense to
use this parsing to extend HTTP matching to TCP.
doc/configuration.txt
src/acl.c
src/client.c
src/proto_http.c