]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MAJOR] session: remove the ->srv pointer from struct session
authorWilly Tarreau <w@1wt.eu>
Thu, 10 Mar 2011 15:55:02 +0000 (16:55 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 10 Mar 2011 22:32:17 +0000 (23:32 +0100)
commit827aee913fb43099db3ff790902f79985338817e
tree2b9b81351d52461780368da76100a6b9259d198d
parent9e000c6ec8820c2eb1c289c03fac35b1bbda1503
[MAJOR] session: remove the ->srv pointer from struct session

This one has been removed and is now totally superseded by ->target.
To get the server, one must use target_srv(&s->target) instead of
s->srv now.

The function ensures that non-server targets still return NULL.
include/proto/stream_interface.h
include/types/session.h
src/backend.c
src/checks.c
src/dumpstats.c
src/log.c
src/peers.c
src/proto_http.c
src/queue.c
src/session.c