summaryrefslogtreecommitdiffstats
path: root/modules/http2/config2.m4
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2017-03-29 09:04:07 +0200
committerStefan Eissing <icing@apache.org>2017-03-29 09:04:07 +0200
commitfaa662844fc930cbe114a2c9d26260a3a6086f97 (patch)
treebf64a1f48b5b6fada58445cd37ff32dcdd9b811f /modules/http2/config2.m4
parentOn the trunk: (diff)
downloadapache2-faa662844fc930cbe114a2c9d26260a3a6086f97.tar.xz
apache2-faa662844fc930cbe114a2c9d26260a3a6086f97.zip
On the trunk:
mod_http2: checking for required nghttp2 features to enabled dynamic input window resizing for streams (nghttp2 >= v1.5.0). Reporting as feature DWINS on startup. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1789279 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 26f71632a0..fac130b219 100644
--- a/modules/http2/config2.m4
+++ b/modules/http2/config2.m4
@@ -155,6 +155,9 @@ dnl # nghttp2 >= 1.5.0: changing stream priorities
dnl # nghttp2 >= 1.14.0: invalid header callback
AC_CHECK_FUNCS([nghttp2_session_callbacks_set_on_invalid_header_callback],
[APR_ADDTO(MOD_CPPFLAGS, ["-DH2_NG2_INVALID_HEADER_CB"])], [])
+dnl # nghttp2 >= 1.15.0: get/set stream window sizes
+ AC_CHECK_FUNCS([nghttp2_session_get_stream_local_window_size],
+ [APR_ADDTO(MOD_CPPFLAGS, ["-DH2_NG2_LOCAL_WIN_SIZE"])], [])
else
AC_MSG_WARN([nghttp2 version is too old])
fi