projects
/
project
/
uclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
http: terminate old connection in uclient_http_connect after incomplete request proce...
[project/uclient.git]
/
uclient-http.c
diff --git
a/uclient-http.c
b/uclient-http.c
index
ff1bcc4
..
7c5bc63
100644
(file)
--- a/
uclient-http.c
+++ b/
uclient-http.c
@@
-797,6
+797,9
@@
static int uclient_http_connect(struct uclient *cl)
struct uclient_http *uh = container_of(cl, struct uclient_http, uc);
int ret;
+ if (!cl->eof || uh->disconnect)
+ uclient_http_disconnect(uh);
+
uclient_http_init_request(uh);
if (uh->us)