From: Stefan Eissing Date: Fri, 23 Apr 2021 08:01:56 +0000 (+0000) Subject: mod_htt2: fix incomplete sync with latest changes in github, adjust version number. X-Git-Tag: 2.5.0-alpha2-ci-test-only~955 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f990e5ecad40b100a8a5c7c1033c46044a9cb244;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/http2/h2_stream.c b/modules/http2/h2_stream.c index b717888ad96..4fec5377f72 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; } } diff --git a/modules/http2/h2_version.h b/modules/http2/h2_version.h index 03651c998d7..c8b11064396 100644 --- a/modules/http2/h2_version.h +++ b/modules/http2/h2_version.h @@ -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 */