MINOR: mux-h2: make sure to only check concurrency limit on the frontend
authorWilly Tarreau <w@1wt.eu>
Thu, 31 Jan 2019 09:31:51 +0000 (10:31 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 31 Jan 2019 18:38:25 +0000 (19:38 +0100)
commitfa1d357f05872a4485677d6bb4c47b2942b8cd51
tree4d95796bb0407972b666eacc5046cbf176a330ab
parent5a490b669e6501c66d64b19c80de7c7ea57da7aa
MINOR: mux-h2: make sure to only check concurrency limit on the frontend

h2_has_too_many_cs() was renamed to h2_frt_has_too_many_cs() to make it
clear it's only used to throttle the frontend connection, and the call
places were adjusted to only call this code on a front connection. In
practice it was already the case since the H2_CF_DEM_TOOMANY flag is
only set there. But now the ambiguity is removed.
src/mux_h2.c