BUG/MEDIUM: connections: Wake the stream once the mux is chosen.
When we defer the mux choice until the ALPN is negociated, don't forget to wake the stream once it's done, or it will never have the opportunity to send data.
This commit is contained in:
parent
6be139f867
commit
70d9b2fdb0
@ -1046,6 +1046,7 @@ static int conn_complete_server(struct connection *conn)
|
||||
struct conn_stream *cs = NULL;
|
||||
struct stream *s = conn->mux_ctx;
|
||||
|
||||
task_wakeup(s->task, TASK_WOKEN_IO);
|
||||
conn_clear_xprt_done_cb(conn);
|
||||
/* Verify if the connection just established. */
|
||||
if (unlikely(!(conn->flags & (CO_FL_WAIT_L4_CONN | CO_FL_WAIT_L6_CONN | CO_FL_CONNECTED))))
|
||||
|
Loading…
x
Reference in New Issue
Block a user