]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: h2: enforce the per-connection stream limit
authorWilly Tarreau <w@1wt.eu>
Sun, 3 Dec 2017 17:56:02 +0000 (18:56 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 3 Dec 2017 20:08:42 +0000 (21:08 +0100)
commit497456154e3c9d1f719b939e1a943ea225abf8d1
treedb9bbecfe96ce83529f814e5bec9b3f8bf240e0c
parentd8d2ac75e89362637f3c21a2710f527355c86abe
BUG/MEDIUM: h2: enforce the per-connection stream limit

h2spec reports that we unfortunately didn't enforce the per-connection
stream limit that we advertise. It's important to ensure it's never
crossed otherwise it's cheap for a client to create many streams. This
requires the addition of a stream count. The h2c struct could be cleaned
up a bit, just like the h2_detach() function where an "if" block doesn't
make sense anymore since it's always true.

To backport to 1.8.
src/mux_h2.c