summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
04e644b)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
ubus_poll_data(ctx, (unsigned int) timeout);
uloop_cancelled = cancelled;
ubus_poll_data(ctx, (unsigned int) timeout);
uloop_cancelled = cancelled;
+ if (ctx->sock.eof) {
+ ubus_set_req_status(req, UBUS_STATUS_CONNECTION_FAILED);
+ break;
+ }
}
ctx->stack_depth--;
if (ctx->stack_depth)
}
ctx->stack_depth--;
if (ctx->stack_depth)