]> git.kaiwu.me - haproxy.git/commitdiff
MINOR: stconn: Wakup the SC with TASK_WOKEN_IO state from opposite side
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 5 Mar 2026 16:57:51 +0000 (17:57 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 10 Mar 2026 14:10:34 +0000 (15:10 +0100)
When a SC is woken up by the opposite side, in inter stream-connector calls,
TASK_WOKEN_IO state is now used.

src/stconn.c

index d2330f1abbc63f29554c47de0cc314c96a35bea8..0c641e50fd8bbb96eb48e2b7a670557305265843 100644 (file)
@@ -876,7 +876,7 @@ static void sc_app_chk_rcv_conn(struct stconn *sc)
 
        /* (re)start reading */
        if (sc_state_in(sc->state, SC_SB_CON|SC_SB_RDY|SC_SB_EST))
-               tasklet_wakeup(sc->wait_event.tasklet);
+               tasklet_wakeup(sc->wait_event.tasklet, TASK_WOKEN_IO);
 }