]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MAJOR] reworked ->be, ->fe and ->fi in sessions
authorWilly Tarreau <w@1wt.eu>
Sun, 17 Dec 2006 18:31:23 +0000 (19:31 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 17 Dec 2006 18:31:23 +0000 (19:31 +0100)
commit830ff458deeebb202ef9f73d2b2b4b36ac899b55
treeb98c1253d59c059a5e0e0ac848f57359c1abfc61
parent97a738f32ca2963925f274d0c60931bf1caf4618
[MAJOR] reworked ->be, ->fe and ->fi in sessions

There was a confusion about the way to find filters and backend
parameters from sessions. The chaining has been changed between
the session and the proxy.

Now, a session knows only two proxies : one frontend (->fe) and
one backend (->be). Each proxy has a link to the proxy providing
filters and to the proxy providing backend parameters (both self
by default).

The captures (cookies and headers) have been attached to the
frontend's filters for now.

The uri_auth and the statistics are attached to the backend's
filters so that the uri can depend on a hostname for instance.
include/proto/proto_http.h
include/types/session.h
src/backend.c
src/checks.c
src/client.c
src/log.c
src/proto_http.c
src/queue.c
src/session.c