diff options
| author | Felix Fietkau | 2025-07-01 18:31:35 +0000 |
|---|---|---|
| committer | Felix Fietkau | 2025-07-01 18:31:36 +0000 |
| commit | b35b2bc63e8e2ca92436fa601c68692242386246 (patch) | |
| tree | f7e5f91f78e35c75d1c8bf1a4c3d3ce0b0d655e0 | |
| parent | 27839f854a58d9dbc85efa1b5cd79f253880c701 (diff) | |
ubusd: treat EACCES on write like EAGAIN
Apparently it can happen if the write buffer is full. Do not cut the connection
in that case.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
| -rw-r--r-- | ubusd_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ubusd_main.c b/ubusd_main.c index adbd293..46066f4 100644 --- a/ubusd_main.c +++ b/ubusd_main.c @@ -88,6 +88,7 @@ static void client_cb(struct uloop_fd *sock, unsigned int events) switch(errno) { case EINTR: case EAGAIN: + case EACCES: break; default: goto disconnect; |