Skip to content

Commit

Permalink
Update Curl to 8.9.1, ngtcp2 to 1.6.0, and nghttp3 to 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
justdan6 committed Aug 6, 2024
1 parent d0af40e commit f6de935
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
-
name: Verify Curl
run: |
docker run -t justdanz/curl-http3 curl --version | grep "curl 8.8.0"
docker run -t justdanz/curl-http3 curl --version | grep "curl 8.9.1"
-
name: Verify Brotli support
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN git clone --depth 1 -b openssl-3.1.5+quic https://github.com/quictls/openssl
RUN cp -r /usr/local/openssl/lib64 /usr/local/openssl/lib 2>/dev/null || :

RUN cd .. \
&& git clone --depth 1 -b v1.3.0 https://github.com/ngtcp2/nghttp3 \
&& git clone --depth 1 -b v1.4.0 https://github.com/ngtcp2/nghttp3 \
&& cd nghttp3 \
&& git submodule update --init \
&& autoreconf -i \
Expand All @@ -35,15 +35,15 @@ RUN cd .. \
&& make install

RUN cd .. \
&& git clone --depth 1 -b v1.5.0 https://github.com/ngtcp2/ngtcp2 \
&& git clone --depth 1 -b v1.6.0 https://github.com/ngtcp2/ngtcp2 \
&& cd ngtcp2 \
&& autoreconf -fi \
&& ./configure PKG_CONFIG_PATH=/usr/local/openssl/lib/pkgconfig:/usr/local/nghttp3/lib/pkgconfig LDFLAGS="-Wl,-rpath,/usr/local/openssl/lib" --prefix=/usr/local/ngtcp2 --enable-lib-only \
&& make \
&& make install

RUN cd .. \
&& git clone --depth 1 -b curl-8_8_0 https://github.com/curl/curl \
&& git clone --depth 1 -b curl-8_9_1 https://github.com/curl/curl \
&& cd curl \
&& autoreconf -fi \
&& export PKG_CONFIG_PATH=/usr/local/openssl/lib/pkgconfig:/usr/local/nghttp3/lib/pkgconfig:/usr/local/ngtcp2/lib/pkgconfig \
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
test:
docker run -t justdanz/curl-http3 curl --version | grep "curl 8.8.0"
docker run -t justdanz/curl-http3 curl --version | grep "curl 8.9.1"
docker run --rm justdanz/curl-http3 curl -sIL https://httpbin.org/brotli | grep -i 'content-encoding: br'
docker run --rm justdanz/curl-http3 curl -sIL https://blog.cloudflare.com --http3 -H 'user-agent: mozilla' | grep 'HTTP/3'

Expand Down

0 comments on commit f6de935

Please sign in to comment.