Skip to content

Commit

Permalink
ci: update h3spec to 0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
camshaft committed Dec 11, 2024
1 parent 85f3048 commit 07de84a
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions scripts/h3spec
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
#/usr/bin/env bash

VERSION=${1:-"v0.1.8"}
VERSION=${1:-"v0.1.11"}
PORT=${2:4433}

BIN="target/tools/h3spec-${VERSION}"

TARGET="h3spec-linux-x86_64"

# check if we're on macos
if [ "$(uname)" == "Darwin" ]; then
TARGET="h3spec-mac-arm64"
fi

if [ ! -f $BIN ]; then
mkdir -p target/tools
curl -L -o $BIN \
https://github.com/kazu-yamamoto/h3spec/releases/download/$VERSION/h3spec-linux-x86_64
https://github.com/kazu-yamamoto/h3spec/releases/download/$VERSION/$TARGET
chmod +x $BIN
fi

Expand All @@ -17,7 +24,8 @@ fi
# https://github.com/aws/s2n-quic/issues/858
# https://github.com/aws/s2n-quic/issues/859

ARGS=""
# we just use test certs for `s2n-quic-qns` so skip cert validation
ARGS="--no-validate"

# h3spec appends the KeyUpdate message to the end of the valid Handshake data.
# s2n-quic considers the handshake "done" before it receives the bad message,
Expand Down

0 comments on commit 07de84a

Please sign in to comment.