4 lines
207 B
Bash
Executable File
4 lines
207 B
Bash
Executable File
#!/bin/bash
|
|
|
|
[[ "$(curl -w '%{http_code}' -N -H "Connection: Upgrade" -H "Upgrade: websocket" -H "Host: 127.0.0.1:$PORT" -H "Origin: 127.0.0.1" http://127.0.0.1:$PORT/kurento)" == 500 ]] && exit 0 || exit 1
|