[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [PATCH] wget: flush HTTP request before receving reply
From: Denys Vlasenko <vda.linux () googlemail ! com>
Date: 2010-09-23 13:19:30
Message-ID: AANLkTikmw=cZ=xGWnBWtG9pfpT8saM78up2k7Ki1VCqu () mail ! gmail ! com
[Download RAW message or body]
2010/9/20 Nguyễn Thái Ngọc Duy <pclouds@gmail.com>:
>
> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
> ---
> networking/wget.c | 2 ++
> 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.
> */
> --
> 1.7.1.rc1.70.g788ca
Applied, thanks!
--
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic