]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: session: adjust the connection flags before stream_new()
authorWilly Tarreau <w@1wt.eu>
Wed, 8 Apr 2015 16:18:15 +0000 (18:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 8 Apr 2015 16:18:15 +0000 (18:18 +0200)
commit678be62981a59641025608291760232f821b38a9
tree157b928456a8f0a9ee9263649092590f5aec58b1
parent042cd75bc2455acf472a69ccea3603ed45a5e61a
MEDIUM: session: adjust the connection flags before stream_new()

It's not the stream's job to manipulate the connection's flags, it's
more related to the session that accepted the new connection. And the
only case where we have to do it conditionally is based on the frontend
which is known from the session, thus it makes sense to do it there.
src/session.c
src/stream.c