If the header is read but not the remainder of the message, the stream will be out of sync and parsing of future messages won't work Signed-off-by: Felix Fietkau <nbd@nbd.name>
@@ -192,8 +192,6 @@ static int recv_retry(struct ubus_context *ctx, struct iovec *iov, bool wait, in
if (bytes < 0) {
bytes = 0;
- if (uloop_cancelling() || ctx->cancel_poll)
- return 0;
if (errno == EINTR)
continue;