summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/wget.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/networking/wget.c b/networking/wget.c
index 88bb09e..4521abf 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -737,6 +737,8 @@ int wget_main(int argc UNUSED_PARAM, char **argv)
fprintf(sfp, /* "Connection: close\r\n" */ "\r\n");
}
+ fflush(sfp);
+
/*
* Retrieve HTTP response line and check for "200" status code.
*/