projects
/
platform
/
upstream
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fc20c4
)
wget: flush output to network before receving reply
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Thu, 23 Sep 2010 13:18:41 +0000
(15:18 +0200)
committer
Denys Vlasenko
<dvlasenk@redhat.com>
Thu, 23 Sep 2010 13:18:41 +0000
(15:18 +0200)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
networking/wget.c
patch
|
blob
|
history
diff --git
a/networking/wget.c
b/networking/wget.c
index
88bb09e
..
4521abf
100644
(file)
--- 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.
*/