File tree 1 file changed +11
-3
lines changed
1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 1
1
#/usr/bin/env bash
2
2
3
- VERSION=${1:-"v0.1.8 "}
3
+ VERSION=${1:-"v0.1.11 "}
4
4
PORT=${2:4433}
5
5
6
6
BIN="target/tools/h3spec-${VERSION}"
7
7
8
+ TARGET="h3spec-linux-x86_64"
9
+
10
+ # check if we're on macos
11
+ if [ "$(uname)" == "Darwin" ]; then
12
+ TARGET="h3spec-mac-arm64"
13
+ fi
14
+
8
15
if [ ! -f $BIN ]; then
9
16
mkdir -p target/tools
10
17
curl -L -o $BIN \
11
- https://github.com/kazu-yamamoto/h3spec/releases/download/$VERSION/h3spec-linux-x86_64
18
+ https://github.com/kazu-yamamoto/h3spec/releases/download/$VERSION/$TARGET
12
19
chmod +x $BIN
13
20
fi
14
21
17
24
# https://github.com/aws/s2n-quic/issues/858
18
25
# https://github.com/aws/s2n-quic/issues/859
19
26
20
- ARGS=""
27
+ # we just use test certs for `s2n-quic-qns` so skip cert validation
28
+ ARGS="--no-validate"
21
29
22
30
# h3spec appends the KeyUpdate message to the end of the valid Handshake data.
23
31
# s2n-quic considers the handshake "done" before it receives the bad message,
You can’t perform that action at this time.
0 commit comments