mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 03:05:29 -05:00
10 lines
151 B
Bash
Executable file
10 lines
151 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
SSE_SERVER=$1
|
|
PORT=8086
|
|
|
|
"$SSE_SERVER" -p $PORT &
|
|
sleep 0.1
|
|
|
|
curl -N "http://localhost:${PORT}/count/10" -H user-agent:test
|
|
kill %1
|