projects
/
project
/
uclient.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8fbe271
)
add support for 204 (no content)
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 29 Mar 2014 22:31:54 +0000
(23:31 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 29 Mar 2014 22:31:54 +0000
(23:31 +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
f16d29d
..
7a54cce
100644
(file)
--- a/
uclient-http.c
+++ b/
uclient-http.c
@@
-518,7
+518,7
@@
static void uclient_http_headers_complete(struct uclient_http *uh)
if (uh->uc.cb->header_done)
uh->uc.cb->header_done(&uh->uc);
- if (uh->req_type == REQ_HEAD) {
+ if (uh->req_type == REQ_HEAD
|| uh->uc.status_code == 204
) {
uh->eof = true;
uclient_notify_eof(uh);
}