Use ncat --no-shutdown
This commit is contained in:
parent
f6493e94d4
commit
41a475909d
|
@ -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*$//')
|
||||
|
|
Loading…
Reference in New Issue