Fix for openssl s_server oddity in 1.0.2

This commit is contained in:
Manuel Pégourié-Gonnard 2015-02-09 13:05:54 +00:00
parent f7d2bbaa62
commit 82cf0a1f9a

View File

@ -869,7 +869,7 @@ start_server() {
log "$SERVER_CMD"
echo "$SERVER_CMD" > $SRV_OUT
# for servers without -www or equivalent
yes Filler-text-for-server-to-send | $SERVER_CMD >> $SRV_OUT 2>&1 &
while :; do echo bla; sleep 1; done | $SERVER_CMD >> $SRV_OUT 2>&1 &
PROCESS_ID=$!
sleep 1