This commit is contained in:
Tatsuhiro Tsujikawa 2020-01-30 17:01:56 +09:00
parent 009615370b
commit 80c0f37a8d
2 changed files with 6 additions and 6 deletions

View File

@ -21,15 +21,15 @@ Running h2load against HTTP/3 server
In order to build h2load with HTTP/3 support, you have to build In order to build h2load with HTTP/3 support, you have to build
ngtcp2, nghttp3 and my patched OpenSSL. ngtcp2, nghttp3 and my patched OpenSSL.
https://github.com/ngtcp2/ngtcp2/tree/draft-22#build-from-git https://github.com/ngtcp2/ngtcp2#build-from-git describes how to build
describes how to build these three software. 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: ``--npn-list`` option like so:
.. code-block:: text .. 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 You can use Dockerfile to skip the tedious build steps to manually
pull and build dependencies. In order to build Docker image, do this: pull and build dependencies. In order to build Docker image, do this:
@ -43,7 +43,7 @@ Run h2load:
.. code-block:: text .. 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 Development Status
------------------ ------------------

View File

@ -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_data = (1 << config->connection_window_bits) - 1;
params.initial_max_streams_bidi = 0; params.initial_max_streams_bidi = 0;
params.initial_max_streams_uni = 100; params.initial_max_streams_uni = 100;
params.idle_timeout = 30 * NGTCP2_SECONDS; params.max_idle_timeout = 30 * NGTCP2_SECONDS;
auto path = ngtcp2_path{ auto path = ngtcp2_path{
{local_addrlen, {local_addrlen,