Commit 41a475909d0d84d1a9949d6212fb39a35f42d881
Use ncat --no-shutdown
cel committed on 11/1/2019, 3:27:29 AMParent: f6493e94d46e79a9191f482b29a6c00f3b3c74f3
Files changed
gemini.filter.dpi | changed |
gemini.filter.dpi | |||
---|---|---|---|
@@ -119,9 +119,9 @@ | |||
119 | 119 … | host=${hostname%%:*} | |
120 | 120 … | port=${hostname##*:} | |
121 | 121 … | if [ "$host" = "$port" ]; then port=1965; fi | |
122 | 122 … | send_status_msg "Sending request..." | |
123 | - printf "%s\r\n" "$url" | ncat --ssl "$host" "$port" | { | ||
123 … | + printf "%s\r\n" "$url" | ncat --no-shutdown --ssl "$host" "$port" | { | ||
124 | 124 … | read status meta | |
125 | 125 … | send_status_msg "Status: $status" | |
126 | 126 … | meta=$(echo "$meta" | sed 's/\s*$//') | |
127 | 127 … | case "$status" in |
Built with git-ssb-web