summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2c8a8ac)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
{
struct uclient_http *uh = container_of(us, struct uclient_http, ufd.stream);
{
struct uclient_http *uh = container_of(us, struct uclient_http, ufd.stream);
+ if (uh->ufd.stream.write_error) {
+ uclient_http_error(uh, UCLIENT_ERROR_CONNECT);
+ return;
+ }
uclient_notify_eof(uh);
}
uclient_notify_eof(uh);
}