diff --git a/src/mux_h2.c b/src/mux_h2.c index acc38e8e2..47f0e8cc3 100644 --- a/src/mux_h2.c +++ b/src/mux_h2.c @@ -5141,9 +5141,7 @@ static size_t h2_snd_buf(struct conn_stream *cs, struct buffer *buf, size_t coun int32_t id = h2c_get_next_sid(h2s->h2c); if (id < 0) { - cs->ctx = NULL; cs->flags |= CS_FL_ERROR; - h2s_destroy(h2s); return 0; }