]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: stream: don't emit a send-name-header in conn error or disconnect states
authorWilly Tarreau <w@1wt.eu>
Wed, 5 Jun 2019 13:29:38 +0000 (15:29 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 6 Jun 2019 14:36:19 +0000 (16:36 +0200)
commit19ecf71b60f34801c11d6006dc2d88262ecd86ea
tree3c628e6a8569d2d4d1bd3ef3ba717f6c6ebfe884
parent975b155ebba1e507ef3ca6c2d9ffc6e9c1808a47
BUG/MINOR: stream: don't emit a send-name-header in conn error or disconnect states

The test for the send-name-header field used to cover all states between
SI_ST_CON and SI_ST_CLO, which include SI_ST_CER and SI_ST_DIS. Trying to
send a header in these states makes no sense at all, so let's fix this.
This should have no visible impact so no backport is needed.
src/stream.c