]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: mux-h2: remove misleading leftover test on h2s' nullity
authorWilly Tarreau <w@1wt.eu>
Wed, 30 Jan 2019 14:42:44 +0000 (15:42 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 30 Jan 2019 14:45:02 +0000 (15:45 +0100)
commit6432dc87837c95f5364365bf499f4848f8a1e36e
tree29d2f1a090d482b2cfd3ecfb7fa85efaf2492b76
parent13ebef7ecb94168039241bce66c2bdc0a3789c16
CLEANUP: mux-h2: remove misleading leftover test on h2s' nullity

The WINDOW_UPDATE and DATA frame handlers used to still have a check on
h2s to return either h2s_error() or h2c_error(). This is a leftover from
the early code. The h2s cannot be null there anymore as it has already
been dereferenced before reaching these locations.
src/mux_h2.c