summaryrefslogtreecommitdiffstats
path: root/modules/http2/config2.m4
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2022-09-26 14:29:47 +0200
committerStefan Eissing <icing@apache.org>2022-09-26 14:29:47 +0200
commit8476af1eb6c7618e561fbb790dddde885ac56b5e (patch)
treea819c3431375c7666ac43da04adb3881ed5a42e3 /modules/http2/config2.m4
parent *) mod_http2: removing bucket splitting into an extra recv brigade. (diff)
downloadapache2-8476af1eb6c7618e561fbb790dddde885ac56b5e.tar.xz
apache2-8476af1eb6c7618e561fbb790dddde885ac56b5e.zip
*) mod_http2: new directive "H2HeaderStrictness" to control the compliance
level of header checks as defined in the HTTP/2 RFCs. Default is 7540. 9113 activates the checks for forbidden leading/trailing whitespace in field values (available from nghttp2 v1.50.0 on). - source sync with github version - fix for keepalive idle wait in mpm_worker setup - ensuring EOS when secondary connection has been handled - fixed race in late input EOS arrival when stream was already scheduled for execution. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1904269 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/http2/config2.m4')
-rw-r--r--modules/http2/config2.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/http2/config2.m4 b/modules/http2/config2.m4
index bec019b77b..87d4cc2ae2 100644
--- a/modules/http2/config2.m4
+++ b/modules/http2/config2.m4
@@ -163,6 +163,9 @@ dnl # nghttp2 >= 1.15.0: get/set stream window sizes
dnl # nghttp2 >= 1.15.0: don't keep info on closed streams
AC_CHECK_FUNCS([nghttp2_option_set_no_closed_streams],
[APR_ADDTO(MOD_CPPFLAGS, ["-DH2_NG2_NO_CLOSED_STREAMS"])], [])
+dnl # nghttp2 >= 1.50.0: rfc9113 leading/trailing whitespec strictness
+ AC_CHECK_FUNCS([nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation],
+ [APR_ADDTO(MOD_CPPFLAGS, ["-DH2_NG2_RFC9113_STRICTNESS"])], [])
else
AC_MSG_WARN([nghttp2 version is too old])
fi