projects
/
oweals
/
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 88bb09eb20af5b19b59b7244aed8d59187fa7177..4521abfcffd7a3f98c283e67f2904d0827f0435d 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.
*/