th5/_dev/picotls/run.sh
2017-09-05 21:06:34 +01:00

11 lines
215 B
Bash
Executable File

#! /bin/bash
set -e
IFS=':' read -ra ADDR <<< "$1"
shift
HOST="${ADDR[0]}"
PORT="${ADDR[1]}"
/picotls/cli -s /session -e "$@" $HOST $PORT < /httpreq.txt
/picotls/cli -s /session -e "$@" $HOST $PORT < /httpreq.txt