commit | 497456154e3c9d1f719b939e1a943ea225abf8d1 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Dec 03 18:56:02 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Dec 03 21:08:42 2017 +0100 |
tree | db9bbecfe96ce83529f814e5bec9b3f8bf240e0c | |
parent | d8d2ac75e89362637f3c21a2710f527355c86abe [diff] |
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.