Update docker build and doc

This commit is contained in:
Tatsuhiro Tsujikawa 2019-08-29 17:40:22 +09:00
parent a8366a2a60
commit 27a5568125
2 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ Running h2load against HTTP/3 endpoint
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-20#build-from-git
https://github.com/ngtcp2/ngtcp2/tree/draft-22#build-from-git
describes how to build these three software.
To run h2load against HTTP/3 server, specify h3-22 ALPN with
@ -29,7 +29,7 @@ To run h2load against HTTP/3 server, specify h3-22 ALPN with
.. code-block:: text
$ h2load --npn-list h3-22 https://localhost:4433
$ h2load --npn-list h3-22 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-22 https://localhost:4433
$ docker run --rm -it --network=host nghttp2-quic /usr/local/bin/h2load --npn-list h3-22 https://127.0.0.1:4433
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 \
ca-certificates psmisc \
python && \
git clone --depth 1 -b quic-draft-22 https://github.com/tatsuhiro-t/openssl && \
git clone --depth 1 -b openssl-quic-draft-22 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 && \
git clone --depth 1 https://github.com/ngtcp2/nghttp3 && \
cd nghttp3 && autoreconf -i && \