aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-05-31 12:02:18 +0200
committerAnna Henningsen <anna@addaleax.net>2019-06-10 15:17:21 +0200
commitee24ce900e5714c950b248da2bdd311b01c983be (patch)
treeca92158f815cea9530ceeef6fb8c007d6ccd29ce /docs/src
parent9a10058e72fb62c3e6ffd82e1f3f393c717e63f5 (diff)
downloadlibuv-ee24ce900e5714c950b248da2bdd311b01c983be.tar.gz
libuv-ee24ce900e5714c950b248da2bdd311b01c983be.zip
unix: return actual error from `uv_try_write()`
So far, for some (?) errors, `uv_try_write()` returns `EAGAIN` regardless of the actual error, so `ECONNRESET` and `EPIPE` errors can be swallowed here. This commit changes `uv_try_write()` so that it prefers to return the actual error it has seen. PR-URL: https://github.com/libuv/libuv/pull/2321 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions