#
7c491bde |
| 11-Jul-2024 |
Viacheslav Muravyev |
unix,win: remove unused req parameter from macros (#4435) Remove the unused `req` parameter from the uv__req_register and uv__req_unregister macros.
|
#
d2d92b74 |
| 21-May-2024 |
Andy Pan |
unix: support SO_REUSEPORT with load balancing for TCP
|
#
497f3168 |
| 22-Apr-2024 |
Saúl Ibarra Corretgé |
win: remove no longer needed define Windows 7 is no longer supported.
|
#
6adeeace |
| 22-Mar-2024 |
Saúl Ibarra Corretgé |
unix,win: error on zero delay tcp keepalive Closes: https://github.com/libuv/libuv/pull/4350 Closes: https://github.com/libuv/libuv/issues/3487
|
#
1b01b786 |
| 24-May-2023 |
Ben Noordhuis |
unix,win: replace QUEUE with struct uv__queue (#4022) Recent versions of gcc have started emitting warnings about the liberal type casting inside the QUEUE macros. Although the warnings
unix,win: replace QUEUE with struct uv__queue (#4022) Recent versions of gcc have started emitting warnings about the liberal type casting inside the QUEUE macros. Although the warnings are false positives, let's use them as the impetus to switch to a type-safer and arguably cleaner approach. Fixes: https://github.com/libuv/libuv/issues/4019
show more ...
|
#
a138041c |
| 01-Dec-2022 |
Ben Noordhuis |
win: fix -Wunused-variable warning
|
#
a7b16bfb |
| 07-Nov-2022 |
Saúl Ibarra Corretgé |
win: drop code checking for Windows XP / Server 2k3 Our minimum requirements are Windows 8 now.
|
#
2b4b293e |
| 04-Nov-2022 |
Saúl Ibarra Corretgé |
win,tcp,udp: remove "active streams" optimization It has been disabled for 11 years, I guess it should remain that way.
|
#
7bccb562 |
| 03-Aug-2022 |
Santiago Gimeno |
unix,win: remove UV_HANDLE_SHUTTING flag (#3705) Replace it with a `uv__is_stream_shutting()` macro that checks the `shutdown_req` field. It partially fixes: https://github.com/
unix,win: remove UV_HANDLE_SHUTTING flag (#3705) Replace it with a `uv__is_stream_shutting()` macro that checks the `shutdown_req` field. It partially fixes: https://github.com/libuv/libuv/issues/3663.
show more ...
|
#
ee970e38 |
| 11-Jul-2022 |
Jameson Nash |
win,shutdown: improve how shutdown is dispatched (#3649) Split this off from endgame, so that it can be handled separately and earlier, rather than trying to detect inside endgame which
win,shutdown: improve how shutdown is dispatched (#3649) Split this off from endgame, so that it can be handled separately and earlier, rather than trying to detect inside endgame which case we are in. There appear to be some race conditions on the `handle` field still however, which this does not yet attempt to address.
show more ...
|
#
69ebb2d7 |
| 08-Apr-2022 |
twosee |
win: fix unexpected ECONNRESET error on TCP socket (#3584)
|
#
d54c92e3 |
| 15-Feb-2022 |
Jameson Nash |
win: fix style nits [NFC] (#3474) Internal functions usually have a uv__ prefix.
|
#
4075298d |
| 01-Dec-2021 |
AJ Heller |
win,test: fix a few typos PR-URL: https://github.com/libuv/libuv/pull/3375
|
#
b2614a10 |
| 25-Nov-2021 |
Jameson Nash |
stream: permit read after seeing EOF (#3361) On some streams (notably TTYs), it is permitted to continue reading after getting EOF. So still stop reading on EOF, but allow the user to
stream: permit read after seeing EOF (#3361) On some streams (notably TTYs), it is permitted to continue reading after getting EOF. So still stop reading on EOF, but allow the user to reset the stream and try to read again (which may just get EOF). This relaxes the constraint added in ce15b8405e9d01e221f8390475deab4a40d26e38. Refs: https://github.com/libuv/libuv/pull/3006
show more ...
|
#
9918a174 |
| 19-Jun-2021 |
twosee |
win,tcp: translate system errors correctly PR-URL: https://github.com/libuv/libuv/pull/3200 Reviewed-By: Jameson Nash <vtjnash@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
|
#
99eb736b |
| 10-Jun-2021 |
Jameson Nash |
win,tcp: make uv_close work more like unix This is an attempt to fix some resource management issues on Windows. Win32 sockets have an issue where it sends an RST packet if there is
win,tcp: make uv_close work more like unix This is an attempt to fix some resource management issues on Windows. Win32 sockets have an issue where it sends an RST packet if there is an outstanding overlapped calls. We can avoid that by being certain to explicitly cancel our read and write requests first. This also removes some conditional cleanup code, since we might as well clean it up eagerly (like unix). Otherwise, it looks to me like these might cause the accept callbacks to be run after the endgame had freed the memory for them. The comment here seems mixed up between send and recv buffers. The default behavior on calling `closesocket` is already to do a graceful shutdown (see https://docs.microsoft.com/en-us/windows/win32/api/winsock/nf-winsock-closesocket with default l_onoff=zero) if it is the last open handle. The expected behavior if there are pending reads in flight is to send an RST packet, notifying the client that the server connection was destroyed before acknowledging the EOF. Additionally, we need to cancel writes explicitly: we need to notify Win32 that it is okay to cancel these writes (so it doesn't also generate an RST packet on the wire). Refs: https://github.com/libuv/libuv/pull/3035 Refs: https://github.com/nodejs/node/pull/35946 Refs: https://github.com/nodejs/node/issues/35904 Fixes: https://github.com/libuv/libuv/issues/3034 PR-URL: https://github.com/libuv/libuv/pull/3036 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
#
ce15b840 |
| 21-May-2021 |
Jameson Nash |
Re-merge "unix,stream: clear read/write states on close/eof" This reverts commit 46f36e3df1a666620f6749427f15651cbc4b7001. PR-URL: https://github.com/libuv/libuv/pull/3006 Refs:
Re-merge "unix,stream: clear read/write states on close/eof" This reverts commit 46f36e3df1a666620f6749427f15651cbc4b7001. PR-URL: https://github.com/libuv/libuv/pull/3006 Refs: https://github.com/libuv/libuv/pull/2967 Refs: https://github.com/libuv/libuv/pull/2409 Refs: https://github.com/libuv/libuv/issues/2943 Refs: https://github.com/libuv/libuv/pull/2968 Refs: https://github.com/nodejs/node/pull/36111 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
Revision tags: v1.41.0 |
|
#
4ddc2927 |
| 10-Nov-2020 |
Jameson Nash |
stream: add uv_pipe and uv_socketpair to the API Equivalents of `pipe` and `socketpair` for cross-platform use. PR-URL: https://github.com/libuv/libuv/pull/2953 Reviewed-By: San
stream: add uv_pipe and uv_socketpair to the API Equivalents of `pipe` and `socketpair` for cross-platform use. PR-URL: https://github.com/libuv/libuv/pull/2953 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
Revision tags: v1.40.0, v1.39.0, v1.38.1, v1.38.0 |
|
#
726af5eb |
| 28-Apr-2020 |
Ben Noordhuis |
unix: report bind error in uv_tcp_connect() Fix a bug where libuv forgets about EADDRINUSE errors reported earlier: uv_tcp_bind() + uv_tcp_connect() seemingly succeed but the socket isn'
unix: report bind error in uv_tcp_connect() Fix a bug where libuv forgets about EADDRINUSE errors reported earlier: uv_tcp_bind() + uv_tcp_connect() seemingly succeed but the socket isn't actually bound to the requested address. This bug goes back to at least 2011 if indeed it ever worked at all. PR-URL: https://github.com/libuv/libuv/pull/2218 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Jameson Nash <vtjnash@gmail.com>
show more ...
|
#
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 ...
|
#
99e88edf |
| 13-Aug-2020 |
Bartosz Sosnowski |
tcp: fail instantly if local port is unbound On Windows when connecting to an unavailable port, the connect() will retry for 2s, even on loopback devices. This uses a call to WSAIoctl to
tcp: fail instantly if local port is unbound On Windows when connecting to an unavailable port, the connect() will retry for 2s, even on loopback devices. This uses a call to WSAIoctl to make the connect() call fail instantly on local connections. PR-URL: https://github.com/libuv/libuv/pull/2896 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Jameson Nash <vtjnash@gmail.com>
show more ...
|
#
f779fd4f |
| 28-Jul-2020 |
Michael Penick |
win,tcp: avoid reinserting a pending request (#2688) This fix avoids inserting a duplicate pending request in the case where `WSARecv()` returns an error (e.g. when a connection has been
win,tcp: avoid reinserting a pending request (#2688) This fix avoids inserting a duplicate pending request in the case where `WSARecv()` returns an error (e.g. when a connection has been terminated by its peer) when `uv_read_start()` is called in a read callback. Fixes: https://github.com/libuv/libuv/issues/2687 PR-URL: https://github.com/libuv/libuv/pull/2688 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: Jameson Nash <vtjnash@gmail.com>
show more ...
|
Revision tags: 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 ...
|
Revision tags: v1.30.1, v1.30.0, v1.29.1, v1.29.0, v1.28.0, v1.27.0, v1.26.0, v1.25.0, v1.24.1, v1.24.0, v1.23.2, v1.23.1, v1.23.0, v1.22.0, v1.21.0, v1.20.3, v1.20.2, v1.20.1, v1.20.0, v1.19.2, v1.19.1, 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 |
|
#
618c9212 |
| 31-May-2017 |
Elliot Saba |
win,pipe: consolidate overlapped initialization PR-URL: https://github.com/libuv/libuv/pull/2620 Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net> |
#
a5da270f |
| 01-Feb-2020 |
Jameson Nash |
win: address some style nits PR-URL: https://github.com/libuv/libuv/pull/2620 Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net> |