]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] http: detect tunnel mode and set it in the session
authorWilly Tarreau <w@1wt.eu>
Mon, 30 Nov 2009 11:19:56 +0000 (12:19 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 30 Nov 2009 11:19:56 +0000 (12:19 +0100)
commitd0f06fc4b2c912f9e0304d719c2f45461ba1ea39
tree0a7c8e624fbd3cd8ba2379025a301bb1dcee4d13
parentb86db34fe00ec91909dbcbf5e889bab458dc0ea8
[MINOR] http: detect tunnel mode and set it in the session

In order to support keepalive, we'll have to differentiate
normal sessions from tunnel sessions, which are the ones we
don't want to analyse further.

Those are typically the CONNECT requests where we don't care
about any form of content-length, as well as the requests
which are forwarded on non-close and non-keepalive proxies.
include/types/session.h
src/proto_http.c