-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #248 from c410-f3r/misc
WebSocket over HTTP/2
- Loading branch information
Showing
189 changed files
with
6,283 additions
and
4,203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euxo pipefail | ||
|
||
ARG=${1:-""} | ||
if [ "$ARG" != "ci" ]; then | ||
trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT | ||
fi; | ||
|
||
cargo build --bin h2load --features="wtx/http2,wtx/nightly" --profile deploy | ||
cargo run --bin h2load --features="wtx/http2,wtx/nightly" --profile deploy & | ||
sleep 1 | ||
|
||
h2load -c100 -m10 -n100000 --no-tls-proto=h2c http://localhost:9000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.