mirror of
https://git.busybox.net/busybox
synced 2026-01-31 16:43:21 +00:00
wget: flush output to network before receving reply
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
This commit is contained in:
parent
1fc20c446f
commit
ebec11dff1
1 changed files with 2 additions and 0 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue