mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-07 10:38:53 +08:00
nghttpx: Fix possible flow control issue
Previously we only update consumed flow control window when number of bytes read in nghttp2 and spdylay callback is 0. Now we notify nghttp2 library the consumed bytes even if number of bytes read > 0. This change also uses newly added spdylay_session_consume() API, so we require spdylay >= 1.3.0.
This commit is contained in:
@@ -312,7 +312,7 @@ fi
|
||||
# spdylay (for src/nghttpx and src/h2load)
|
||||
have_spdylay=no
|
||||
if test "x${request_spdylay}" != "xno"; then
|
||||
PKG_CHECK_MODULES([LIBSPDYLAY], [libspdylay >= 1.2.3],
|
||||
PKG_CHECK_MODULES([LIBSPDYLAY], [libspdylay >= 1.3.0],
|
||||
[have_spdylay=yes], [have_spdylay=no])
|
||||
if test "x${have_spdylay}" = "xyes"; then
|
||||
AC_DEFINE([HAVE_SPDYLAY], [1], [Define to 1 if you have `spdylay` library.])
|
||||
|
||||
Reference in New Issue
Block a user