From 80c0f37a8d106b317718f262483d7a77c9afcd98 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 30 Jan 2020 17:01:56 +0900 Subject: [PATCH] draft-25 --- README.rst | 10 +++++----- src/h2load_quic.cc | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index bfd2d419..82806fb3 100644 --- a/README.rst +++ b/README.rst @@ -21,15 +21,15 @@ Running h2load against HTTP/3 server In order to build h2load with HTTP/3 support, you have to build ngtcp2, nghttp3 and my patched OpenSSL. -https://github.com/ngtcp2/ngtcp2/tree/draft-22#build-from-git -describes how to build these three software. +https://github.com/ngtcp2/ngtcp2#build-from-git describes how to build +these three software. -To run h2load against HTTP/3 server, specify h3-24 ALPN with +To run h2load against HTTP/3 server, specify h3-25 ALPN with ``--npn-list`` option like so: .. code-block:: text - $ h2load --npn-list h3-24 https://127.0.0.1:4433 + $ h2load --npn-list h3-25 https://127.0.0.1:4433 You can use Dockerfile to skip the tedious build steps to manually pull and build dependencies. In order to build Docker image, do this: @@ -43,7 +43,7 @@ Run h2load: .. code-block:: text - $ docker run --rm -it --network=host nghttp2-quic /usr/local/bin/h2load --npn-list h3-24 https://127.0.0.1:4433 + $ docker run --rm -it --network=host nghttp2-quic /usr/local/bin/h2load --npn-list h3-25 https://127.0.0.1:4433 Development Status ------------------ diff --git a/src/h2load_quic.cc b/src/h2load_quic.cc index f845b845..5cd7990f 100644 --- a/src/h2load_quic.cc +++ b/src/h2load_quic.cc @@ -393,7 +393,7 @@ int Client::quic_init(const sockaddr *local_addr, socklen_t local_addrlen, params.initial_max_data = (1 << config->connection_window_bits) - 1; params.initial_max_streams_bidi = 0; params.initial_max_streams_uni = 100; - params.idle_timeout = 30 * NGTCP2_SECONDS; + params.max_idle_timeout = 30 * NGTCP2_SECONDS; auto path = ngtcp2_path{ {local_addrlen,