diff options
Diffstat (limited to 'modules/http2/h2_mplx.c')
-rw-r--r-- | modules/http2/h2_mplx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/http2/h2_mplx.c b/modules/http2/h2_mplx.c index 71a743177f..39e9b1b001 100644 --- a/modules/http2/h2_mplx.c +++ b/modules/http2/h2_mplx.c @@ -1018,7 +1018,8 @@ static void s_c2_done(h2_mplx *m, conn_rec *c2, h2_conn_ctx_t *conn_ctx) int i; for (i = 0; i < m->spurge->nelts; ++i) { - if (stream == APR_ARRAY_IDX(m->spurge, i, h2_stream*)) { + stream = APR_ARRAY_IDX(m->spurge, i, h2_stream*); + if (stream && (stream->id == conn_ctx->stream_id)) { ap_log_cerror(APLOG_MARK, APLOG_WARNING, 0, c2, H2_STRM_LOG(APLOGNO(03517), stream, "already in spurge")); ap_assert("stream should not be in spurge" == NULL); |