3b6a1a14 | 13-Jan-2024 |
Brad King |
linux: disable io_uring on ppc64 and ppc64le (#4285) Since `io_uring` support was added, libuv's signal handler randomly segfaults on ppc64 when interrupting `epoll_pwait`. Disable it
linux: disable io_uring on ppc64 and ppc64le (#4285) Since `io_uring` support was added, libuv's signal handler randomly segfaults on ppc64 when interrupting `epoll_pwait`. Disable it pending further investigation. Issue: https://github.com/libuv/libuv/issues/4283
show more ...
|
a7cbda92 | 12-Jan-2024 |
Andy Pan |
unix: optimize uv__tcp_keepalive cpp directives (#4275) Reduce the amount of code being compiled and trim trailing whitespace in passing. |
a407b232 | 09-Jan-2024 |
David Carlier |
freebsd: fix build on non-intel archs (#4276) KINFO_FILE_SIZE is only defined on Intel archs. Fixes: https://github.com/libuv/libuv/issues/4274 |
160cd562 | 08-Jan-2024 |
Santiago Gimeno |
linux: retry fs op if unsupported by io_uring (#4268) Fallback to the threadpool if it returns `EOPNOTSUPP`. Fixes: https://github.com/nodejs/node/issues/50876 |
7d092913 | 07-Jan-2024 |
David Carlier |
freebsd: fix F_KINFO file path handling (#4256) The new F_KINFO flag does not seem to work with directories nor with deleted entries. Fixes: https://github.com/libuv/libuv/issue
freebsd: fix F_KINFO file path handling (#4256) The new F_KINFO flag does not seem to work with directories nor with deleted entries. Fixes: https://github.com/libuv/libuv/issues/4255
show more ...
|
a9381cdb | 06-Jan-2024 |
Andy Pan |
unix: support full TCP keep-alive on Solaris (#4272) Solaris claimed it supported the TCP-Alives mechanism, but TCP_KEEPIDLE, TCP_KEEPINTVL, and TCP_KEEPCNT were not available on Sol
unix: support full TCP keep-alive on Solaris (#4272) Solaris claimed it supported the TCP-Alives mechanism, but TCP_KEEPIDLE, TCP_KEEPINTVL, and TCP_KEEPCNT were not available on Solaris until the latest version 11.4. Therefore, we need to simulate the TCP-Alives mechanism on other platforms via TCP_KEEPALIVE_THRESHOLD + TCP_KEEPALIVE_ABORT_THRESHOLD.
show more ...
|
e72a91e0 | 05-Jan-2024 |
Juan José Arboleda |
build: add .cache clangd folder to .gitignore (#4257) The clangd index, before creating the `compile_commands.json` file will create the indexes under a `.cache` folder. This does not ne
build: add .cache clangd folder to .gitignore (#4257) The clangd index, before creating the `compile_commands.json` file will create the indexes under a `.cache` folder. This does not need to be tracked by the repo. Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com>
show more ...
|
64bd28f5 | 05-Jan-2024 |
Trevor Flynn |
win: replace c99 comments with c89 comments (#4270) |
1dd0ab13 | 25-Dec-2023 |
Santiago Gimeno |
linux: fix bind/connect for abstract sockets (#4266) The `\0` character has no special significance in abstract sockets, so the addrlen field in both `bind()` and `connect()` should take
linux: fix bind/connect for abstract sockets (#4266) The `\0` character has no special significance in abstract sockets, so the addrlen field in both `bind()` and `connect()` should take that into account.
show more ...
|
8861a97e | 22-Dec-2023 |
Abdirahim Musse <33973272+abmusse@users.noreply.github.com> |
aix,ibmi: use uv_interface_addresses instead of getifaddrs (#4222) AIX and IBM i don't have getifaddrs but we do have code in `uv_interface_addresses` to get the interface addresses.
aix,ibmi: use uv_interface_addresses instead of getifaddrs (#4222) AIX and IBM i don't have getifaddrs but we do have code in `uv_interface_addresses` to get the interface addresses. Refs: https://github.com/libuv/libuv/issues/4117
show more ...
|
51a22f60 | 22-Dec-2023 |
Matheus Izvekov |
unix,win: fix busy loop with zero timeout timers (#4250) Calling `uv_timer_start(h, cb, 0, 0)` from a timer callback resulted in the timer running immediately because it was inserted at
unix,win: fix busy loop with zero timeout timers (#4250) Calling `uv_timer_start(h, cb, 0, 0)` from a timer callback resulted in the timer running immediately because it was inserted at the front of the timer heap. If the callback did that every time, libuv would effectively busy-loop in `uv__run_timers()` and never make forward progress. Work around that by collecting all expired timers into a queue and only running their callback afterwards. Fixes: https://github.com/libuv/libuv/issues/4245 Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
8a499e13 | 22-Dec-2023 |
Matheus Izvekov |
win: stop using deprecated names (#4253) |
34db4c21 | 20-Dec-2023 |
Anton Bachin |
build,win: work around missing uuid.dll on MinGW (#4261) |
1479b763 | 12-Dec-2023 |
Abdirahim Musse <33973272+abmusse@users.noreply.github.com> |
test: skip tcp-write-in-a-row on IBM i (#4197) On IBM i this test fails asserting the write queue size. The test expects the queue size to be greater than 0 but the queue size is 0 o
test: skip tcp-write-in-a-row on IBM i (#4197) On IBM i this test fails asserting the write queue size. The test expects the queue size to be greater than 0 but the queue size is 0 on IBM i. https://github.com/libuv/libuv/blob/66160d6973b41040f6b2066a84359147258f60c3/test/test-tcp-write-in-a-row.c#L75 The test expects the write to get queued because the size of the data is larger than the send and receive buffers. https://github.com/libuv/libuv/blob/66160d6973b41040f6b2066a84359147258f60c3/test/test-tcp-write-in-a-row.c#L39-L40 For some reason the request does not seem to get queued on IBM i. The root cause of the issue will need further investigation. Part of #4143
show more ...
|
a7d52551 | 12-Dec-2023 |
Ben Noordhuis |
linux: remove HAVE_IFADDRS_H macro (#4243) Introduced long ago for old Linux/libc flavors libuv no longer supports. We include <ifaddrs.h> unconditionally elsewhere so there is no p
linux: remove HAVE_IFADDRS_H macro (#4243) Introduced long ago for old Linux/libc flavors libuv no longer supports. We include <ifaddrs.h> unconditionally elsewhere so there is no point in special-casing it here. Fixes: https://github.com/libuv/libuv/issues/4242
show more ...
|
12bd89bb | 11-Dec-2023 |
Saúl Ibarra Corretgé |
idna: fix compilation warning w_target_len is set but unsued in release mode. |
5e302730 | 30-Nov-2023 |
Ardi Nugraha <33378542+ardi-nugraha@users.noreply.github.com> |
win: honor NoDefaultCurrentDirectoryInExePath env var (#4238) Fixes: https://github.com/libuv/libuv/issues/3888 Refs: https://github.com/nodejs/node/issues/46264 |
a5c01d4d | 24-Nov-2023 |
Jameson Nash |
misc: ignore libuv-release-tool files (#4201) |
de43f427 | 24-Nov-2023 |
Stephen Gallagher |
test_fs.c: Fix issue on 32-bit systems using btrfs (#4227) On Fedora's build system, the build environment runs on btrfs. This revealed a bug in the test on i686 systems, where this comp
test_fs.c: Fix issue on 32-bit systems using btrfs (#4227) On Fedora's build system, the build environment runs on btrfs. This revealed a bug in the test on i686 systems, where this comparison was being performed as a comparison of two signed integers, but the filesystem type of btrfs happens to use the higher-order bits, resulting in it appearing as a negative value. BTRFS_SUPER_MAGIC 0x9123683e Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
show more ...
|
fc70430b | 24-Nov-2023 |
Bo Anderson |
unix: correct pwritev conditional (#4233) |
7ba94d39 | 19-Nov-2023 |
cjihrig |
doc: move cjihrig to emeriti (#4234) |
bfbe4e38 | 18-Nov-2023 |
Abdirahim Musse <33973272+abmusse@users.noreply.github.com> |
aix: disable ipv6 link local (#4229) AIX does not implement ifaddrs and when retrieving the network interfaces with uv_interface_addresses there was a test failure in tcp_connect6_li
aix: disable ipv6 link local (#4229) AIX does not implement ifaddrs and when retrieving the network interfaces with uv_interface_addresses there was a test failure in tcp_connect6_link_local. For now disable ipv6 link local on aix to: 1) fix broken aix build 2) stop blocking libuv upgrade in node Refs: https://github.com/libuv/libuv/pull/4222#issuecomment-1812962233 Refs: https://github.com/nodejs/node/pull/50650
show more ...
|
4785ad63 | 18-Nov-2023 |
Sergey Fedorov |
unix: unbreak macOS < 10.14 (#4230) |
6be130e1 | 16-Nov-2023 |
Ben Noordhuis |
unix,win: fix read past end of pipe name buffer (#4209) Passing a socket name without a trailing nul byte to uv_pipe_bind2() or (on Windows) uv_pipe_connect2() resulted in reading beyond
unix,win: fix read past end of pipe name buffer (#4209) Passing a socket name without a trailing nul byte to uv_pipe_bind2() or (on Windows) uv_pipe_connect2() resulted in reading beyond the end of the name buffer when copying or converting it. Fix that by copying the socket name to temporary storage first and add the trailing nul byte explicitly. Add a check for embedded nul bytes in the socket name. Fix a small memory leak in the Windows error path of uv_pipe_bind2().
show more ...
|
f1444293 | 15-Nov-2023 |
matoro <12038583+matoro@users.noreply.github.com> |
linux: disable io_uring on hppa below kernel 6.1.51 (#4224) First kernel with support is 6.1, was only fully functional from .51 onwards: https://lore.kernel.org/all/cb912694-b1fe-dbb0-4
linux: disable io_uring on hppa below kernel 6.1.51 (#4224) First kernel with support is 6.1, was only fully functional from .51 onwards: https://lore.kernel.org/all/cb912694-b1fe-dbb0-4d8c-d608f3526905@gmx.de/ Co-authored-by: matoro <matoro@users.noreply.github.com>
show more ...
|