diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-16 17:31:05 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-16 17:31:05 +0100 |
commit | 4e08a123b0f8c7d2c66583e84759b0974e791ee9 (patch) | |
tree | 3454632cecf1f6a042e6cb705432866cf83f358d /networking | |
parent | 936e83e694b3225dbcc14fc99ca8053e2518ab35 (diff) | |
download | busybox-w32-4e08a123b0f8c7d2c66583e84759b0974e791ee9.tar.gz busybox-w32-4e08a123b0f8c7d2c66583e84759b0974e791ee9.tar.bz2 busybox-w32-4e08a123b0f8c7d2c66583e84759b0974e791ee9.zip |
Assorted warning fixes and added a comment, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r-- | networking/wget.c | 3 |
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) | |||
1092 | 1092 | ||
1093 | fflush(sfp); | 1093 | fflush(sfp); |
1094 | 1094 | ||
1095 | /* Tried doing this unconditionally. | ||
1096 | * Cloudflare and nginx/1.11.5 are shocked to see SHUT_WR on non-HTTPS. | ||
1097 | */ | ||
1095 | #if SSL_SUPPORTED | 1098 | #if SSL_SUPPORTED |
1096 | if (target.protocol == P_HTTPS) { | 1099 | if (target.protocol == P_HTTPS) { |
1097 | /* If we use SSL helper, keeping our end of the socket open for writing | 1100 | /* If we use SSL helper, keeping our end of the socket open for writing |