aboutsummaryrefslogtreecommitdiff
path: root/networking/wget.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-01-16 17:31:05 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2017-01-16 17:31:05 +0100
commit4e08a123b0f8c7d2c66583e84759b0974e791ee9 (patch)
tree3454632cecf1f6a042e6cb705432866cf83f358d /networking/wget.c
parent936e83e694b3225dbcc14fc99ca8053e2518ab35 (diff)
downloadbusybox-4e08a123b0f8c7d2c66583e84759b0974e791ee9.tar.gz
Assorted warning fixes and added a comment, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/wget.c')
-rw-r--r--networking/wget.c3
1 files changed, 3 insertions, 0 deletions
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