From 4e08a123b0f8c7d2c66583e84759b0974e791ee9 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 16 Jan 2017 17:31:05 +0100 Subject: Assorted warning fixes and added a comment, no code changes Signed-off-by: Denys Vlasenko --- networking/wget.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'networking') diff --git a/networking/wget.c b/networking/wget.c index d5a92a950..5da6481c1 100644 --- a/networking/wget.c +++ b/networking/wget.c @@ -1092,6 +1092,9 @@ static void download_one_url(const char *url) fflush(sfp); +/* Tried doing this unconditionally. + * Cloudflare and nginx/1.11.5 are shocked to see SHUT_WR on non-HTTPS. + */ #if SSL_SUPPORTED if (target.protocol == P_HTTPS) { /* If we use SSL helper, keeping our end of the socket open for writing -- cgit v1.2.3