diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2019-10-31 17:27:29 -1000 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2019-10-31 17:27:29 -1000 |
commit | 41a475909d0d84d1a9949d6212fb39a35f42d881 (patch) | |
tree | 84f274bdefaf8e765f4251278ef72a3103083990 | |
parent | f6493e94d46e79a9191f482b29a6c00f3b3c74f3 (diff) |
Use ncat --no-shutdown
-rwxr-xr-x | gemini.filter.dpi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gemini.filter.dpi b/gemini.filter.dpi index 53932e5..9305067 100755 --- a/gemini.filter.dpi +++ b/gemini.filter.dpi @@ -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*$//') |