MINOR: mux-h1: Try to wake up data layer first before calling its wake callback
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 21 Jan 2021 16:49:01 +0000 (17:49 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 28 Jan 2021 15:22:53 +0000 (16:22 +0100)
commitad4daf629e053b2be753d76b14d7bdca428e0eea
tree8f9496352196e765cea81bde2baaa7366411361f
parent89e34c261b886fb8dcd894792b08ee266f622df5
MINOR: mux-h1: Try to wake up data layer first before calling its wake callback

Instead of calling the data layer wake callback function, we now first try
to wake it up. If the data layer is subscribed for receives or for sends,
its tasklet is woken up. The wake callback function is only called as the
last chance to notify the data layer.
src/mux_h1.c