MINOR: mux-h1: Wake up H1C after its creation if input buffer is not empty
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 21 Jan 2021 16:45:45 +0000 (17:45 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 28 Jan 2021 15:27:15 +0000 (16:27 +0100)
commitd9ee788b7a3c1043fa66688267a8c1dc8e17084f
tree02f7a56f0fa5beef0cd724c37886fa87ffcb7455
parentad4daf629e053b2be753d76b14d7bdca428e0eea
MINOR: mux-h1: Wake up H1C after its creation if input buffer is not empty

When a H1 connection is created, we now wakeup the H1C tasklet if there are
some data in the input buffer. If not we only subscribe for reads.

This patch is required to fix the TCP to H1 upgrades.
src/mux_h1.c