projects
/
project
/
uclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
http: assume data EOF if the connection terminates
[project/uclient.git]
/
uclient-http.c
diff --git
a/uclient-http.c
b/uclient-http.c
index
e58cf27
..
5e5f996
100644
(file)
--- a/
uclient-http.c
+++ b/
uclient-http.c
@@
-192,6
+192,9
@@
static void uclient_notify_eof(struct uclient_http *uh)
return;
}
+ if (uh->content_length < 0 && uh->read_chunked >= 0)
+ uh->uc.data_eof = true;
+
uclient_backend_set_eof(&uh->uc);
if (uh->connection_close)