Bump nghttp3
This commit is contained in:
parent
3122a83900
commit
32c2557bb7
|
@ -116,7 +116,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/ngtcp2/nghttp3
|
git clone https://github.com/ngtcp2/nghttp3
|
||||||
cd nghttp3
|
cd nghttp3
|
||||||
git checkout 207318c92e0578ac393c31dcd797e4a4dca3e31a
|
git checkout 74a222fe0c89b7202bcdaf6ef27a232edffc85e3
|
||||||
autoreconf -i
|
autoreconf -i
|
||||||
./configure --prefix=$PWD/build --enable-lib-only
|
./configure --prefix=$PWD/build --enable-lib-only
|
||||||
make -j$(nproc) check
|
make -j$(nproc) check
|
||||||
|
|
|
@ -368,7 +368,7 @@ Build nghttp3:
|
||||||
|
|
||||||
$ git clone https://github.com/ngtcp2/nghttp3
|
$ git clone https://github.com/ngtcp2/nghttp3
|
||||||
$ cd nghttp3
|
$ cd nghttp3
|
||||||
$ git checkout 207318c92e0578ac393c31dcd797e4a4dca3e31a
|
$ git checkout 74a222fe0c89b7202bcdaf6ef27a232edffc85e3
|
||||||
$ autoreconf -i
|
$ autoreconf -i
|
||||||
$ ./configure --prefix=$PWD/build --enable-lib-only
|
$ ./configure --prefix=$PWD/build --enable-lib-only
|
||||||
$ make -j$(nproc)
|
$ make -j$(nproc)
|
||||||
|
|
|
@ -305,7 +305,7 @@ int Http3Session::init_conn() {
|
||||||
|
|
||||||
nghttp3_settings settings;
|
nghttp3_settings settings;
|
||||||
nghttp3_settings_default(&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;
|
settings.qpack_blocked_streams = 100;
|
||||||
|
|
||||||
auto mem = nghttp3_mem_default();
|
auto mem = nghttp3_mem_default();
|
||||||
|
|
|
@ -2495,7 +2495,7 @@ int Http3Upstream::setup_httpconn() {
|
||||||
|
|
||||||
nghttp3_settings settings;
|
nghttp3_settings settings;
|
||||||
nghttp3_settings_default(&settings);
|
nghttp3_settings_default(&settings);
|
||||||
settings.qpack_max_table_capacity = 4_k;
|
settings.qpack_max_dtable_capacity = 4_k;
|
||||||
|
|
||||||
if (!config->http2_proxy) {
|
if (!config->http2_proxy) {
|
||||||
settings.enable_connect_protocol = 1;
|
settings.enable_connect_protocol = 1;
|
||||||
|
|
Loading…
Reference in New Issue