This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -euo pipefail
function headers {
printf "\
GET / HTTP/1.1\r
Host: localhost\r
Connection: upgrade\r
\r
"
}
( headers; echo hello; cat; echo bye ) | nc localhost 8080 --close