#
46f36e3d |
| 24-Aug-2020 |
cjihrig |
Revert "unix,stream: clear read/write states on close/eof" This reverts commit 12be29f185261b8a7e6ada596fd805919cb2b133. The commit in question was introducing failures in the Node.
Revert "unix,stream: clear read/write states on close/eof" This reverts commit 12be29f185261b8a7e6ada596fd805919cb2b133. The commit in question was introducing failures in the Node.js test suite. Refs: https://github.com/libuv/libuv/issues/2943 Refs: https://github.com/libuv/libuv/pull/2967 Refs: https://github.com/libuv/libuv/pull/2409 PR-URL: https://github.com/libuv/libuv/pull/2968 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
Revision tags: v1.38.0, v1.37.0, v1.36.0, v1.35.0, v1.34.2, v1.34.1, v1.34.0, v1.33.1, v1.33.0, v1.32.0, v1.31.0 |
|
#
12be29f1 |
| 06-Aug-2019 |
OleksandrKvl |
unix,stream: clear read/write states on close/eof Fixes: https://github.com/libuv/libuv/issues/1798 Refs: https://github.com/libuv/libuv/pull/1825 PR-URL: https://github.com/libuv/li
unix,stream: clear read/write states on close/eof Fixes: https://github.com/libuv/libuv/issues/1798 Refs: https://github.com/libuv/libuv/pull/1825 PR-URL: https://github.com/libuv/libuv/pull/2409 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Co-Authored-By: Jameson Nash <vtjnash@gmail.com>
show more ...
|
#
8249bd19 |
| 06-Jan-2020 |
Jameson Nash |
Revert "aix: replace ECONNRESET with EOF if already closed" This reverts commit ca08b48252230db27592248aef10c2d1779bccce, for the same reasons that it was reverted the last time it was m
Revert "aix: replace ECONNRESET with EOF if already closed" This reverts commit ca08b48252230db27592248aef10c2d1779bccce, for the same reasons that it was reverted the last time it was merged. Refs: https://github.com/libuv/libuv/pull/475 Refs: https://github.com/libuv/libuv/pull/2447 PR-URL: https://github.com/libuv/libuv/pull/2602 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
show more ...
|
#
51a0ae78 |
| 02-Jan-2020 |
Xu Meng |
ibmi: fix the CMSG length issue On IBMi, msg_controllen of struct msghdr can not exceed 256. The default UV__CMSG_FD_COUNT value 64 leads EINVAL error. Set UV__CMSG_FD_COUNT to 60 on
ibmi: fix the CMSG length issue On IBMi, msg_controllen of struct msghdr can not exceed 256. The default UV__CMSG_FD_COUNT value 64 leads EINVAL error. Set UV__CMSG_FD_COUNT to 60 on IBMi to resolve the issue. PR-URL: https://github.com/libuv/libuv/pull/2591 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
show more ...
|
#
ca08b482 |
| 06-Sep-2019 |
Milad Farazmand |
aix: replace ECONNRESET with EOF if already closed PR-URL: https://github.com/libuv/libuv/pull/2447 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@
aix: replace ECONNRESET with EOF if already closed PR-URL: https://github.com/libuv/libuv/pull/2447 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|
#
66132c66 |
| 15-Aug-2019 |
Santiago Gimeno |
unix,stream: fix returned error codes PR-URL: https://github.com/libuv/libuv/pull/2427 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
unix,stream: fix returned error codes PR-URL: https://github.com/libuv/libuv/pull/2427 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
#
be8b3513 |
| 21-Jul-2019 |
zyxwvu Shi |
unix: clear UV_HANDLE_READING flag before callback The UV_HANDLE_READING stream flag should be removed before stopping the IO watcher and calling the callback. If the callback calls
unix: clear UV_HANDLE_READING flag before callback The UV_HANDLE_READING stream flag should be removed before stopping the IO watcher and calling the callback. If the callback calls uv_read_start(), the IO watcher will be started then after the callback the UV_HANDLE_READING flag is removed. This will result in epoll constantly reporting POLLIN events while no one handles it, causing 100% CPU usage. PR-URL: https://github.com/libuv/libuv/pull/2382 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
Revision tags: v1.30.1, v1.30.0 |
|
#
ee24ce90 |
| 31-May-2019 |
Anna Henningsen |
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
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>
show more ...
|
Revision tags: v1.29.1, v1.29.0, v1.28.0, v1.27.0, v1.26.0, v1.25.0 |
|
#
6140507b |
| 16-Jan-2019 |
Santiago Gimeno |
unix,stream: fix zero byte writes Fixes a regression where a write request to write a zero byte buffer would never complete. Refs: https://github.com/libuv/libuv/pull/2097 R
unix,stream: fix zero byte writes Fixes a regression where a write request to write a zero byte buffer would never complete. Refs: https://github.com/libuv/libuv/pull/2097 Refs: https://github.com/libuv/libuv/issues/2134 PR-URL: https://github.com/libuv/libuv/pull/2149 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
#
c560cf93 |
| 30-Dec-2018 |
Ben Noordhuis |
unix: don't send handle twice on partial write Guard against sending the handle over the UNIX domain socket twice when the first sendmsg() didn't write all bytes. The changes to
unix: don't send handle twice on partial write Guard against sending the handle over the UNIX domain socket twice when the first sendmsg() didn't write all bytes. The changes to src/win partially undo changes made earlier this year, see the referenced pull request for details. Libuv never made promises about the value of `req->send_handle` at different points in time so this should be a safe, non-breaking change. No tests because this particular condition is hard to hit reliably across platforms. I spent a lot of time trying to write one but it turned out hideously complex, and worse, flaky. Fixes: https://github.com/libuv/libuv/issues/2086 PR-URL: https://github.com/libuv/libuv/pull/2097 Refs: https://github.com/libuv/libuv/pull/1843 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
#
639cc46f |
| 30-Dec-2018 |
Ben Noordhuis |
unix: refactor uv__write() Refactor uv__write() to make an upcoming fix easier to implement. PR-URL: https://github.com/libuv/libuv/pull/2097 Reviewed-By: Santiago Gimeno <santi
unix: refactor uv__write() Refactor uv__write() to make an upcoming fix easier to implement. PR-URL: https://github.com/libuv/libuv/pull/2097 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
#
a27b9922 |
| 30-Dec-2018 |
Ben Noordhuis |
darwin: DRY platform-specific error check PR-URL: https://github.com/libuv/libuv/pull/2097 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> |
#
7eca15d1 |
| 30-Dec-2018 |
Ben Noordhuis |
unix: rename WRITE_RETRY_ON_ERROR macro PR-URL: https://github.com/libuv/libuv/pull/2097 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> |
Revision tags: v1.24.1, v1.24.0, v1.23.2, v1.23.1 |
|
#
40498795 |
| 28-Aug-2018 |
Jameson Nash |
stream: autodetect direction Previously, we required the user to specify the expected read/write flags for a pipe or tty. But we've already been asking the OS to tell us what they ac
stream: autodetect direction Previously, we required the user to specify the expected read/write flags for a pipe or tty. But we've already been asking the OS to tell us what they actually are (fcntl F_GETFL), so we can hopefully just use that information directly. Fixes: https://github.com/libuv/libuv/issues/1936 PR-URL: https://github.com/libuv/libuv/pull/1964 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
Revision tags: v1.23.0, v1.22.0, v1.21.0, v1.20.3, v1.20.2 |
|
#
27e7a8b1 |
| 18-Apr-2018 |
John Barboza |
unix: loop starvation on successful write complete A file descriptor that can do multiple successful write completion requests in a row will starve the loop because it will keep feeding
unix: loop starvation on successful write complete A file descriptor that can do multiple successful write completion requests in a row will starve the loop because it will keep feeding the write_completed_queue. This fix will only process items on the write_completed_queue once per event loop (in uv__run_pending). Any new items on the queue will be processed in the next loop. PR-URL: https://github.com/libuv/libuv/pull/1787 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
#
619937c7 |
| 28-Jun-2018 |
Ben Noordhuis |
unix,win: merge handle flags Some long overdue refactoring that unifies more of the UNIX and Windows backends. PR-URL: https://github.com/libuv/libuv/pull/1904 Reviewed-By:
unix,win: merge handle flags Some long overdue refactoring that unifies more of the UNIX and Windows backends. PR-URL: https://github.com/libuv/libuv/pull/1904 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
#
ec69500b |
| 18-Jun-2018 |
Peter Johnson |
unix: disable clang variable length array warning PR-URL: https://github.com/libuv/libuv/pull/1892 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@g
unix: disable clang variable length array warning PR-URL: https://github.com/libuv/libuv/pull/1892 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
#
02e358fa |
| 14-May-2018 |
Tobias Nießen |
src,lib: fix comments PR-URL: https://github.com/libuv/libuv/pull/1840 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By:
src,lib: fix comments PR-URL: https://github.com/libuv/libuv/pull/1840 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
Revision tags: v1.20.1, v1.20.0, v1.19.2 |
|
#
8f9ba2a5 |
| 13-Feb-2018 |
Jameson Nash |
Revert "Revert "unix,tcp: avoid marking server sockets connected"" This reverts commit 20987732434cdd0a11c4b86437a706509907d39c. PR-URL: https://github.com/libuv/libuv/pull/1741
Revert "Revert "unix,tcp: avoid marking server sockets connected"" This reverts commit 20987732434cdd0a11c4b86437a706509907d39c. PR-URL: https://github.com/libuv/libuv/pull/1741 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
#
e6168df5 |
| 13-Feb-2018 |
Santiago Gimeno |
osx,stream: retry sending handle on EMSGSIZE error On OSX when sending handles via `sendmsg()` it can return `EMSGSIZE` if there isn't room in the socket output buffer to store the whole
osx,stream: retry sending handle on EMSGSIZE error On OSX when sending handles via `sendmsg()` it can return `EMSGSIZE` if there isn't room in the socket output buffer to store the whole message. If that's the case, return control to the loop and try again in the next iteration. Fixes: https://github.com/nodejs/node/issues/14828 PR-URL: https://github.com/libuv/libuv/pull/1739 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
Revision tags: v1.19.1 |
|
#
89cbbc89 |
| 19-Jan-2018 |
Mason X |
include,src: introduce UV__ERR() macro Using -errno, -E**, and -pthread_function() can be error prone, and breaks compatibility with some operating systems that already negate errno'
include,src: introduce UV__ERR() macro Using -errno, -E**, and -pthread_function() can be error prone, and breaks compatibility with some operating systems that already negate errno's (e.g. Haiku). This commit adds a UV__ERR() macro that ensures libuv errors are negative. Fixes: https://github.com/libuv/help/issues/39 PR-URL: https://github.com/libuv/libuv/pull/1687 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
#
20987732 |
| 19-Jan-2018 |
Ben Noordhuis |
Revert "unix,tcp: avoid marking server sockets connected" Reverted for breaking Node.js in rather spectacular fashion. The bug is arguably on the Node.js side. It looks like Node.j
Revert "unix,tcp: avoid marking server sockets connected" Reverted for breaking Node.js in rather spectacular fashion. The bug is arguably on the Node.js side. It looks like Node.js starts reading before the socket is actually connected to something. Until that is fixed downstream, let's revert the change. This reverts commit fd049399aa4ed8495928e375466970d98cb42e17. Fixes: https://github.com/libuv/libuv/issues/1716 Fixes: https://github.com/nodejs/node/issues/18225 PR-URL: https://github.com/libuv/libuv/pull/1717 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
Revision tags: v1.19.0, v1.18.0, v1.17.0, v1.16.1, v1.16.0, v1.15.0, v1.14.1, v1.14.0, v1.13.1, v1.13.0, v1.12.0, v1.11.0, v1.10.2, v1.10.1, v1.10.0, v0.10.37, v1.9.1, v1.9.0, v1.8.0, v1.7.5, v1.7.4, v1.7.3, v1.7.2, v1.7.1, v1.7.0, v1.6.1, v1.6.0, v1.5.0, v0.10.36, v1.4.2, v0.10.35, v1.4.1, v0.10.34, v1.4.0, v1.3.0, v0.10.33, v1.2.1, v1.2.0, v0.10.32, v1.1.0, v0.10.31, v1.0.2, v0.10.30, v1.0.1, v1.0.0, v0.10.29, v1.0.0-rc2, v1.0.0-rc1, v0.11.29, v0.11.28, v0.11.27, v0.10.28, v0.11.26, v0.10.27, v0.11.25, v0.11.24, v0.11.23, v0.10.26, v0.11.22, v0.11.21, v0.11.20, v0.10.25, v0.11.19, v0.10.24, v0.11.18, v0.10.23, v0.10.22, v0.11.17, v0.10.21, v0.11.16, v0.10.20, v0.11.15, v0.10.19, v0.11.14, v0.10.18, v0.10.17, v0.10.16, v0.11.13, v0.11.12, v0.11.11, v0.11.10, v0.10.15, v0.11.9, v0.10.14, v0.11.8, v0.11.7, v0.10.13, v0.11.6, v0.10.12, v0.11.5, v0.10.11, v0.10.10, v0.11.4, v0.10.9, v0.10.8, v0.11.3, v0.10.7, v0.10.6, v0.11.2, v0.10.5, v0.10.4, v0.11.1, node-v0.11.0, v0.10.2, node-v0.7.3, node-v0.7.7, node-v0.7.5, node-v0.5.3, node-v0.10.1, node-v0.10.0, node-v0.9.12, node-v0.9.11, node-v0.8.21 |
|
#
fd049399 |
| 12-Feb-2013 |
Jameson Nash |
unix,tcp: avoid marking server sockets connected It shouldn't be setting READABLE and WRITABLE on the socket server, since they aren't, and this could confuse the client. PR-URL
unix,tcp: avoid marking server sockets connected It shouldn't be setting READABLE and WRITABLE on the socket server, since they aren't, and this could confuse the client. PR-URL: https://github.com/libuv/libuv/pull/1655 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
#
0e281417 |
| 02-Nov-2017 |
Jameson Nash |
unix: remove incorrect assertion in uv_shutdown() It isn't necessary, and doesn't agree with the printed message. PR-URL: https://github.com/libuv/libuv/pull/1620 Reviewed-By: B
unix: remove incorrect assertion in uv_shutdown() It isn't necessary, and doesn't agree with the printed message. PR-URL: https://github.com/libuv/libuv/pull/1620 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
#
8a958523 |
| 30-Sep-2017 |
Kamil Rytarowski |
unix: retry on ENOBUFS in sendmsg(2) libuv retries when sendmsg(2) fails with EAGAIN or EWOULDBLOCK. This commit adds similar functionality for ENOBUFS. PR-URL: https://gith
unix: retry on ENOBUFS in sendmsg(2) libuv retries when sendmsg(2) fails with EAGAIN or EWOULDBLOCK. This commit adds similar functionality for ENOBUFS. PR-URL: https://github.com/libuv/libuv/pull/1573 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|