This commit is contained in:
neilpang 2017-09-11 21:40:56 +08:00
parent 042e09d29f
commit 95949b6519
1 changed files with 1 additions and 1 deletions

View File

@ -1987,7 +1987,7 @@ _startserver() {
_debug "_NC" "$_NC"
#todo listen address
socat TCP-LISTEN:$Le_HTTPPort,crlf,reuseaddr,fork SYSTEM:"sleep 0.5; echo HTTP/1.1 200 OK'; echo ; echo $content; echo;" &
$_NC TCP-LISTEN:$Le_HTTPPort,crlf,reuseaddr,fork SYSTEM:"sleep 0.5; echo HTTP/1.1 200 OK'; echo ; echo $content; echo;" &
serverproc="$!"
}