summaryrefslogtreecommitdiffstats
path: root/modules/http2/h2_stream.c
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2021-04-23 10:01:56 +0200
committerStefan Eissing <icing@apache.org>2021-04-23 10:01:56 +0200
commitf990e5ecad40b100a8a5c7c1033c46044a9cb244 (patch)
tree9c31e9aa7242084d1e8f52d449deae349b1f1536 /modules/http2/h2_stream.c
parentmod_md: make sure its post-config hook runs before mod_watchdog. if (diff)
downloadapache2-f990e5ecad40b100a8a5c7c1033c46044a9cb244.tar.xz
apache2-f990e5ecad40b100a8a5c7c1033c46044a9cb244.zip
mod_htt2: fix incomplete sync with latest changes in github, adjust version number.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1889119 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/http2/h2_stream.c')
-rw-r--r--modules/http2/h2_stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/http2/h2_stream.c b/modules/http2/h2_stream.c
index b717888ad9..4fec5377f7 100644
--- a/modules/http2/h2_stream.c
+++ b/modules/http2/h2_stream.c
@@ -638,7 +638,7 @@ void h2_stream_set_request(h2_stream *stream, const h2_request *r)
static void set_error_response(h2_stream *stream, int http_status)
{
- if (!h2_stream_is_ready(stream)) {
+ if (!h2_stream_is_ready(stream) && stream->rtmp) {
stream->rtmp->http_status = http_status;
}
}