Re: [PATCH] uclient-http: set eof mark when content-length is 0

2021-05-14 Thread Baptiste Jonglez
Merged, thanks for the fix! On 11-03-21, Youfu Zhang wrote: > or uclient-fetch will stall until timeout for 2XX (except 204) response > with content-length of 0 > > Signed-off-by: Youfu Zhang > --- > uclient-http.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/ucli

[PATCH] uclient-http: set eof mark when content-length is 0

2021-03-11 Thread Youfu Zhang
or uclient-fetch will stall until timeout for 2XX (except 204) response with content-length of 0 Signed-off-by: Youfu Zhang --- uclient-http.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uclient-http.c b/uclient-http.c index 349e69c..c2bba6b 100644 --- a/uclient-http.c