projects
/
project
/
uclient.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
704c781
)
uclient: fix http regression
author
Felix Fietkau
<nbd@nbd.name>
Fri, 19 Apr 2024 18:04:54 +0000
(20:04 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Fri, 19 Apr 2024 18:04:54 +0000
(20:04 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
uclient-http.c
patch
|
blob
|
history
diff --git
a/uclient-http.c
b/uclient-http.c
index 861aefb05e80676869ba1677bd1cb002a767b3c5..deeb456cdfcb9bb96bcdbf1dc54487f0c82e1ef4 100644
(file)
--- a/
uclient-http.c
+++ b/
uclient-http.c
@@
-827,7
+827,6
@@
static int uclient_setup_http(struct uclient_http *uh)
int ret;
memset(&uh->ufd, 0, sizeof(uh->ufd));
- ustream_fd_init(&uh->ufd, uh->fd);
uh->us = us;
uh->ssl = false;
@@
-840,6
+839,8
@@
static int uclient_setup_http(struct uclient_http *uh)
if (ret)
return UCLIENT_ERROR_CONNECT;
+ ustream_fd_init(&uh->ufd, uh->fd);
+
return 0;
}