]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r1889119 from trunk:
authorStefan Eissing <icing@apache.org>
Tue, 11 May 2021 13:36:45 +0000 (13:36 +0000)
committerStefan Eissing <icing@apache.org>
Tue, 11 May 2021 13:36:45 +0000 (13:36 +0000)
mod_http2: fix incomplete sync with github and its version number.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1889759 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/h2_stream.c
modules/http2/h2_version.h

index b717888ad966591afbbce050db685c6a332f4761..4fec5377f72ec540b02ba6067381dc73e2bd1009 100644 (file)
@@ -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;
     }
 }
index 03651c998d756903127c09a58e6862736f8c7254..c8b110643963e8674c0424b7fca9b9b973f4bf8a 100644 (file)
@@ -27,7 +27,7 @@
  * @macro
  * Version number of the http2 module as c string
  */
-#define MOD_HTTP2_VERSION "1.15.17"
+#define MOD_HTTP2_VERSION "1.15.18"
 
 /**
  * @macro
@@ -35,7 +35,7 @@
  * release. This is a 24 bit number with 8 bits for major number, 8 bits
  * for minor and 8 bits for patch. Version 1.2.3 becomes 0x010203.
  */
-#define MOD_HTTP2_VERSION_NUM 0x010f11
+#define MOD_HTTP2_VERSION_NUM 0x010f12
 
 
 #endif /* mod_h2_h2_version_h */