diff --git a/src/mux_pt.c b/src/mux_pt.c index dbdd78b094..71f26e7534 100644 --- a/src/mux_pt.c +++ b/src/mux_pt.c @@ -51,6 +51,9 @@ static int mux_pt_wake(struct connection *conn) ret = cs->data_cb->wake ? cs->data_cb->wake(cs) : 0; + if (ret < 0) + return ret; + /* If we had early data, and we're done with the handshake * then whe know the data are safe, and we can remove the flag. */