!16 update mod_http2 to 2.0.25
From: @eaglegai Reviewed-by: @gebidelidaye Signed-off-by: @gebidelidaye
This commit is contained in:
commit
9c0d508583
@ -1,24 +0,0 @@
|
|||||||
From 3e88d4b98a35634cd3eafa04e9ffb48b767e4d02 Mon Sep 17 00:00:00 2001
|
|
||||||
From: eaglegai <eaglegai@163.com>
|
|
||||||
Date: Fri, 21 Jul 2023 07:54:22 +0800
|
|
||||||
Subject: [PATCH] fix compilation error when using
|
|
||||||
PROXY_CANONENC_NOENCODEDSLASHENCODING
|
|
||||||
|
|
||||||
---
|
|
||||||
mod_http2/mod_proxy_http2.c | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/mod_http2/mod_proxy_http2.c b/mod_http2/mod_proxy_http2.c
|
|
||||||
index 8c0905f9..6e24dde4 100644
|
|
||||||
--- a/mod_http2/mod_proxy_http2.c
|
|
||||||
+++ b/mod_http2/mod_proxy_http2.c
|
|
||||||
@@ -158,8 +158,8 @@ static int proxy_http2_canon(request_rec *r, char *url)
|
|
||||||
search = r->args;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
+#ifdef PROXY_CANONENC_NOENCODEDSLASHENCODING
|
|
||||||
core_dir_config *d = ap_get_core_module_config(r->per_dir_config);
|
|
||||||
- #ifdef PROXY_CANONENC_NOENCODEDSLASHENCODING
|
|
||||||
int flags = d->allow_encoded_slashes && !d->decode_encoded_slashes ? PROXY_CANONENC_NOENCODEDSLASHENCODING : 0;
|
|
||||||
|
|
||||||
path = ap_proxy_canonenc_ex(r->pool, url, (int)strlen(url),
|
|
||||||
Binary file not shown.
BIN
mod_http2-2.0.25.tar.gz
Normal file
BIN
mod_http2-2.0.25.tar.gz
Normal file
Binary file not shown.
@ -1,15 +1,13 @@
|
|||||||
%{!?_httpd_mmn: %global _httpd_mmn %(cat %{_includedir}/httpd/.mmn 2>/dev/null || echo 0-0)}
|
%{!?_httpd_mmn: %global _httpd_mmn %(cat %{_includedir}/httpd/.mmn 2>/dev/null || echo 0-0)}
|
||||||
|
|
||||||
Name: mod_http2
|
Name: mod_http2
|
||||||
Version: 2.0.20
|
Version: 2.0.25
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Support for the HTTP/2 transport layer
|
Summary: Support for the HTTP/2 transport layer
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://icing.github.io/mod_h2/
|
URL: https://icing.github.io/mod_h2/
|
||||||
Source0: https://github.com/icing/mod_h2/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/icing/mod_h2/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
patch0: backport-fix-build-errors-without-PROXY_CANONENC_NOENCODEDSLA.patch
|
|
||||||
|
|
||||||
BuildRequires: make gcc pkgconfig httpd-devel >= 2.4.20 libnghttp2-devel >= 1.7.0 openssl-devel >= 1.0.2 autoconf libtool hostname
|
BuildRequires: make gcc pkgconfig httpd-devel >= 2.4.20 libnghttp2-devel >= 1.7.0 openssl-devel >= 1.0.2 autoconf libtool hostname
|
||||||
Requires: httpd-mmn = %{_httpd_mmn}
|
Requires: httpd-mmn = %{_httpd_mmn}
|
||||||
|
|
||||||
@ -50,6 +48,12 @@ make check
|
|||||||
%exclude /etc/httpd/share/doc/*
|
%exclude /etc/httpd/share/doc/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 26 2023 gaihuiying <eaglegai@163.com> - 2.0.25-1
|
||||||
|
- Type:requirement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC: update mod_http2 to 2.0.25
|
||||||
|
|
||||||
* Fri Jul 21 2023 gaihuiying <eaglegai@163.com> - 2.0.20-1
|
* Fri Jul 21 2023 gaihuiying <eaglegai@163.com> - 2.0.20-1
|
||||||
- Type:requirement
|
- Type:requirement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user