diff --git a/modules/http2/h2_stream.c b/modules/http2/h2_stream.c index f0e671ca5d6..3cec981a054 100644 --- a/modules/http2/h2_stream.c +++ b/modules/http2/h2_stream.c @@ -659,7 +659,7 @@ apr_status_t h2_stream_set_request_rec(h2_stream *stream, if (stream->rst_error) { return APR_ECONNRESET; } - status = h2_request_rcreate(&req, stream->pool, r, + status = h2_request_rcreate(&req, r->pool, r, &stream->session->hd_scratch); if (status == APR_SUCCESS) { ap_log_rerror(APLOG_MARK, APLOG_DEBUG, status, r,