]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: stream: Perform errors handling in right order in stream_new()
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 27 Sep 2022 07:14:47 +0000 (09:14 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 27 Sep 2022 08:56:51 +0000 (10:56 +0200)
commit4cfc038cb19996f5d2fe60284fdb556503a5f9ef
treeb8a604d81ea8c3b7645696963a065ecbb6a0aa45
parent56ac2cbf5893c83cabc96217c5652839b1524087
BUG/MINOR: stream: Perform errors handling in right order in stream_new()

The frontend SC is attached before the backend one is allocated. Thus an
allocation error on backend SC must be handled before an error on the
frontend SC.

This patch must be backported to 2.6.
src/stream.c