This commit is contained in:
Tatsuhiro Tsujikawa 2020-03-01 12:42:59 +09:00
parent 245dbd6511
commit 799f72b078
2 changed files with 4 additions and 4 deletions

View File

@ -24,12 +24,12 @@ ngtcp2, nghttp3 and my patched OpenSSL.
https://github.com/ngtcp2/ngtcp2#build-from-git describes how to build https://github.com/ngtcp2/ngtcp2#build-from-git describes how to build
these three software. these three software.
To run h2load against HTTP/3 server, specify h3-25 ALPN with To run h2load against HTTP/3 server, specify h3-27 ALPN with
``--npn-list`` option like so: ``--npn-list`` option like so:
.. code-block:: text .. code-block:: text
$ h2load --npn-list h3-25 https://127.0.0.1:4433 $ h2load --npn-list h3-27 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-25 https://127.0.0.1:4433 $ docker run --rm -it --network=host nghttp2-quic /usr/local/bin/h2load --npn-list h3-27 https://127.0.0.1:4433
Development Status Development Status
------------------ ------------------

View File

@ -5,7 +5,7 @@ RUN /usr/local/bin/clean-install git g++ make binutils autoconf automake autotoo
zlib1g libev4 libjemalloc1 libc-ares2 \ zlib1g libev4 libjemalloc1 libc-ares2 \
ca-certificates psmisc \ ca-certificates psmisc \
python && \ python && \
git clone --depth 1 -b OpenSSL_1_1_1d-quic-draft-25 https://github.com/tatsuhiro-t/openssl && \ git clone --depth 1 -b OpenSSL_1_1_1d-quic-draft-27 https://github.com/tatsuhiro-t/openssl && \
cd openssl && ./config enable-tls1_3 --openssldir=/etc/ssl && make -j$(nproc) && make install_sw && cd .. && rm -rf openssl && \ cd openssl && ./config enable-tls1_3 --openssldir=/etc/ssl && make -j$(nproc) && make install_sw && cd .. && rm -rf openssl && \
git clone --depth 1 https://github.com/ngtcp2/nghttp3 && \ git clone --depth 1 https://github.com/ngtcp2/nghttp3 && \
cd nghttp3 && autoreconf -i && \ cd nghttp3 && autoreconf -i && \