From 32c2557bb74b8fc12973a60e9e532ff3dbfa57b7 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 26 Jan 2022 22:58:50 +0900 Subject: [PATCH] Bump nghttp3 --- .github/workflows/build.yml | 2 +- README.rst | 2 +- src/h2load_http3_session.cc | 2 +- src/shrpx_http3_upstream.cc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cdc73ca8..f7502bff 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -116,7 +116,7 @@ jobs: run: | git clone https://github.com/ngtcp2/nghttp3 cd nghttp3 - git checkout 207318c92e0578ac393c31dcd797e4a4dca3e31a + git checkout 74a222fe0c89b7202bcdaf6ef27a232edffc85e3 autoreconf -i ./configure --prefix=$PWD/build --enable-lib-only make -j$(nproc) check diff --git a/README.rst b/README.rst index 2c9b5f0e..92f9de6a 100644 --- a/README.rst +++ b/README.rst @@ -368,7 +368,7 @@ Build nghttp3: $ git clone https://github.com/ngtcp2/nghttp3 $ cd nghttp3 - $ git checkout 207318c92e0578ac393c31dcd797e4a4dca3e31a + $ git checkout 74a222fe0c89b7202bcdaf6ef27a232edffc85e3 $ autoreconf -i $ ./configure --prefix=$PWD/build --enable-lib-only $ make -j$(nproc) diff --git a/src/h2load_http3_session.cc b/src/h2load_http3_session.cc index a62bb70c..573a8a14 100644 --- a/src/h2load_http3_session.cc +++ b/src/h2load_http3_session.cc @@ -305,7 +305,7 @@ int Http3Session::init_conn() { nghttp3_settings settings; nghttp3_settings_default(&settings); - settings.qpack_max_table_capacity = config->header_table_size; + settings.qpack_max_dtable_capacity = config->header_table_size; settings.qpack_blocked_streams = 100; auto mem = nghttp3_mem_default(); diff --git a/src/shrpx_http3_upstream.cc b/src/shrpx_http3_upstream.cc index bc890df3..1c5d18d2 100644 --- a/src/shrpx_http3_upstream.cc +++ b/src/shrpx_http3_upstream.cc @@ -2495,7 +2495,7 @@ int Http3Upstream::setup_httpconn() { nghttp3_settings settings; nghttp3_settings_default(&settings); - settings.qpack_max_table_capacity = 4_k; + settings.qpack_max_dtable_capacity = 4_k; if (!config->http2_proxy) { settings.enable_connect_protocol = 1;