th5/_dev/picotls/run.sh

11 lines
215 B
Bash
Raw Normal View History

2016-11-26 05:50:26 +00:00
#! /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