projects
/
oweals
/
uclient.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3771a93
)
avoid sending duplicate headers
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 29 Mar 2014 19:17:57 +0000
(20:17 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 29 Mar 2014 19:17:57 +0000
(20:17 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
uclient-http.c
patch
|
blob
|
history
diff --git
a/uclient-http.c
b/uclient-http.c
index 2005f0cd0cf5ba9e6c58ab3ef800daccb1cbf26e..44199449d98e69cc7f0f9038b4abd4cd50063c81 100644
(file)
--- a/
uclient-http.c
+++ b/
uclient-http.c
@@
-496,6
+496,8
@@
uclient_http_send_headers(struct uclient_http *uh)
uclient_http_add_auth_header(uh);
ustream_printf(uh->us, "\r\n");
+
+ uh->state = HTTP_STATE_HEADERS_SENT;
}
static void uclient_http_headers_complete(struct uclient_http *uh)