]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: session: group buffer allocations together
authorWilly Tarreau <w@1wt.eu>
Tue, 25 Nov 2014 18:54:11 +0000 (19:54 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 24 Dec 2014 22:47:32 +0000 (23:47 +0100)
commit909e267be01592785bfd52edf1ed59c99a5189f1
treeff275c58e10a32b6d0943485990b0c641a2c07a1
parent4428a29e52544894d631122b598deccd37e59804
MINOR: session: group buffer allocations together

We'll soon want to release buffers together upon failure so we need to
allocate them after the channels. Let's change this now. There's no
impact on the behaviour, only the error path is unrolled slightly
differently. The same was done in peers.
src/peers.c
src/session.c