Use ncat --no-shutdown

This commit is contained in:
cel 2019-10-31 17:27:29 -10:00
parent f6493e94d4
commit 41a475909d
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ serve_gemini() {
port=${hostname##*:}
if [ "$host" = "$port" ]; then port=1965; fi
send_status_msg "Sending request..."
printf "%s\r\n" "$url" | ncat --ssl "$host" "$port" | {
printf "%s\r\n" "$url" | ncat --no-shutdown --ssl "$host" "$port" | {
read status meta
send_status_msg "Status: $status"
meta=$(echo "$meta" | sed 's/\s*$//')