Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: update h3spec to 0.11 #2416

Merged
merged 1 commit into from
Dec 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading