fa6745b4 | 12-Mar-2024 |
Andy Pan |
sunos: sync tcp keep-alive with other unices (#4337) |
6912038d | 08-Mar-2024 |
Saúl Ibarra Corretgé |
unix,fs: fix realpath calls that use the system allocator Make sure we allocate the memory with uv__malloc so it's in turn freed with uv__free. Fixes: https://github.com/libuv/l
unix,fs: fix realpath calls that use the system allocator Make sure we allocate the memory with uv__malloc so it's in turn freed with uv__free. Fixes: https://github.com/libuv/libuv/issues/4329
show more ...
|
2c153450 | 07-Mar-2024 |
Ben Noordhuis |
test: disable env var test under win32+asan (#4342) The test hits an honest-to-$deity compiler runtime bug, see the investigation in the linked issue. Fixes: https://github.com/
test: disable env var test under win32+asan (#4342) The test hits an honest-to-$deity compiler runtime bug, see the investigation in the linked issue. Fixes: https://github.com/libuv/libuv/issues/4338
show more ...
|
ff958799 | 05-Mar-2024 |
Santiago Gimeno |
win: almost fix race detecting ESRCH in uv_kill (#4341) It might happen that only using `WaitForSingleObject()` with timeout 0 could return WAIT_TIMEOUT as the process might not have bee
win: almost fix race detecting ESRCH in uv_kill (#4341) It might happen that only using `WaitForSingleObject()` with timeout 0 could return WAIT_TIMEOUT as the process might not have been signaled yet. To improve things, first use `GetExitCodeProcess()` and check that `status` is not `STILL_ACTIVE`. Then, to cover for the case that the exit code was actually `STILL_ACTIVE` use `WaitForSingleObject()`. This could still be prone to the race condition but only for that case.
show more ...
|
625d3d27 | 02-Mar-2024 |
Farzin Monsef |
cygwin: implement uv_resident_set_memory (#4333) According to the documentation for Cygwin, the penultimate field of /proc/pid/stat corresponds to the RSS, so the method is basically
cygwin: implement uv_resident_set_memory (#4333) According to the documentation for Cygwin, the penultimate field of /proc/pid/stat corresponds to the RSS, so the method is basically the same as in the Linux version. The only difference is that getpagesize() will return wincap.allocation_granularity(), but in this mapping, RSS is calculated using wincap.page_size(), which can be accessed by sysinfo.mem_unit.
show more ...
|
a7c44d67 | 28-Feb-2024 |
Geddy |
udp,unix: fix sendmsg use-after-free (#4321) Issue: 1. uv__io_poll calls uv__udp_io with revents == POLLIN + POLLOUT 2. uv__udp_io calls your recv_cb 3. you close the handle in c
udp,unix: fix sendmsg use-after-free (#4321) Issue: 1. uv__io_poll calls uv__udp_io with revents == POLLIN + POLLOUT 2. uv__udp_io calls your recv_cb 3. you close the handle in callback 4. uv__udp_io calls uv__udp_sendmsg 5. uv__udp_sendmsg calls uv__io_feed 6. kaboom!
show more ...
|
e8458b24 | 28-Feb-2024 |
hiiizxf <385122613@qq.com> |
doc: fix tty example segfault (#4322) Fixes: https://github.com/libuv/libuv/issues/4303 |
6b56200c | 28-Feb-2024 |
Thomas Walter <31201229+waltoss@users.noreply.github.com> |
linux: fix uv_available_parallelism using cgroup (#4278) uv_available_parallelism does not handle container cpu limit set by systems like Docker or Kubernetes. This patch fixes this
linux: fix uv_available_parallelism using cgroup (#4278) uv_available_parallelism does not handle container cpu limit set by systems like Docker or Kubernetes. This patch fixes this limitation by comparing the amount of available cpus returned by syscall with the quota of cpus available defined in the cgroup. Fixes: https://github.com/libuv/libuv/issues/4146
show more ...
|
cc9e9614 | 23-Feb-2024 |
Jameson Nash |
misc: run sample CI when code changes (#4324) |
507f3046 | 14-Feb-2024 |
Ben Noordhuis |
linux: create io_uring sqpoll ring lazily (#4315) It's been reported that creating many event loops introduces measurable overhead now that libuv creates an sqpoll-enabled ring.
linux: create io_uring sqpoll ring lazily (#4315) It's been reported that creating many event loops introduces measurable overhead now that libuv creates an sqpoll-enabled ring. I don't really see any change in CPU time with or without this change but deferring ring creation until it's actually used seems like a good idea, and comes with no downsides that I can think of, so let's do it. Fixes: https://github.com/libuv/libuv/issues/4308
show more ...
|
7b9e37c7 | 09-Feb-2024 |
Anthony Alayo |
build: add alias for libuv to CMakeLists.txt (#4297) Fixes: https://github.com/libuv/libuv/issues/4282 |
009d7414 | 09-Feb-2024 |
Ben Noordhuis |
test: fix -Wpointer-to-int-cast on 32 bits systems (#4309) The return value from signal(2) is a pointer. Use the right macro. |
08a1e7fd | 07-Feb-2024 |
Santiago Gimeno |
Now working on version 1.48.1 Fixes: https://github.com/libuv/libuv/issues/4248 |
99e57661 | 07-Feb-2024 |
Santiago Gimeno |
Add SHA to ChangeLog |
e9f29cb9 | 07-Feb-2024 |
Santiago Gimeno |
2024.02.07, Version 1.48.0 (Stable) Changes since version 1.47.0: * misc: remove deprecated stalebot file (Jameson Nash) * build: disable windows asan buildbot (Ben Noordhu
2024.02.07, Version 1.48.0 (Stable) Changes since version 1.47.0: * misc: remove deprecated stalebot file (Jameson Nash) * build: disable windows asan buildbot (Ben Noordhuis) * test: don't run tcp_writealot under msan (Ben Noordhuis) * build,win: remove extraneous -lshell32 (Ben Noordhuis) * unix: ignore ifaddrs with NULL ifa_addr (Stephen Gallagher) * unix,win: utility for setting priority for thread (Hao Hu) * pipe: add back error handling to connect / bind (Jameson Nash) * test: check if ipv6 link-local traffic is routable (Ben Noordhuis) * win: remove check for UV_PIPE_NO_TRUNCATE (Jameson Nash) * linux: disable io_uring on hppa below kernel 6.1.51 (matoro) * unix,win: fix read past end of pipe name buffer (Ben Noordhuis) * unix: unbreak macOS < 10.14 (Sergey Fedorov) * aix: disable ipv6 link local (Abdirahim Musse) * doc: move cjihrig to emeriti (cjihrig) * unix: correct pwritev conditional (Bo Anderson) * test_fs.c: Fix issue on 32-bit systems using btrfs (Stephen Gallagher) * misc: ignore libuv-release-tool files (Jameson Nash) * win: honor NoDefaultCurrentDirectoryInExePath env var (Ardi Nugraha) * idna: fix compilation warning (Saúl Ibarra Corretgé) * linux: remove HAVE_IFADDRS_H macro (Ben Noordhuis) * test: skip tcp-write-in-a-row on IBM i (Abdirahim Musse) * build,win: work around missing uuid.dll on MinGW (Anton Bachin) * win: stop using deprecated names (Matheus Izvekov) * unix,win: fix busy loop with zero timeout timers (Matheus Izvekov) * aix,ibmi: use uv_interface_addresses instead of getifaddrs (Abdirahim Musse) * linux: fix bind/connect for abstract sockets (Santiago Gimeno) * win: replace c99 comments with c89 comments (Trevor Flynn) * build: add .cache clangd folder to .gitignore (Juan José Arboleda) * unix: support full TCP keep-alive on Solaris (Andy Pan) * freebsd: fix F_KINFO file path handling (David Carlier) * linux: retry fs op if unsupported by io_uring (Santiago Gimeno) * freebsd: fix build on non-intel archs (David Carlier) * unix: optimize uv__tcp_keepalive cpp directives (Andy Pan) * linux: disable io_uring on ppc64 and ppc64le (Brad King) * doc: add very basic Security Policy document (Santiago Gimeno) * build: re-enable msvc-asan job on CI (Jameson Nash) * win/spawn: optionally run executable paths with no file extension (Brad King) * win: fix ESRCH implementation (Jameson Nash) * unix,win: reset the timer queue on stop (Santiago Gimeno) * fix: always zero-terminate idna output (Ben Noordhuis) * fix: reject zero-length idna inputs (Ben Noordhuis) * test: empty strings are not valid IDNA (Santiago Gimeno) * Merge pull request from GHSA-f74f-cvh7-c6q6 (Ben Noordhuis)
show more ...
|
e0327e1d | 07-Feb-2024 |
Santiago Gimeno |
test: empty strings are not valid IDNA Fixes: https://github.com/libuv/libuv/security/advisories/GHSA-f74f-cvh7-c6q6 |
3530bcc3 | 18-Jan-2024 |
Ben Noordhuis |
fix: reject zero-length idna inputs Fixes: https://github.com/libuv/libuv/security/advisories/GHSA-f74f-cvh7-c6q6 |
0f2d7e78 | 18-Jan-2024 |
Ben Noordhuis |
fix: always zero-terminate idna output Fixes: https://github.com/libuv/libuv/security/advisories/GHSA-f74f-cvh7-c6q6 |
bb6fbcf6 | 07-Feb-2024 |
Santiago Gimeno |
unix,win: reset the timer queue on stop (#4304) As there were instances where this didn't happen and could cause memory corruption issues. Refs: https://github.com/libuv/libuv/i
unix,win: reset the timer queue on stop (#4304) As there were instances where this didn't happen and could cause memory corruption issues. Refs: https://github.com/libuv/libuv/issues/4248
show more ...
|
10f31363 | 06-Feb-2024 |
Santiago Gimeno |
Revert "unix: restore signal disposition to previous one (#4216)" (#4302) This reverts commit b9421d70665352138557d2d2338656a38ac70691. Refs: https://github.com/libuv/libuv/issues/4
Revert "unix: restore signal disposition to previous one (#4216)" (#4302) This reverts commit b9421d70665352138557d2d2338656a38ac70691. Refs: https://github.com/libuv/libuv/issues/4299 Refs: https://github.com/libuv/libuv/issues/4248
show more ...
|
129362f3 | 05-Feb-2024 |
Jameson Nash |
win: fix ESRCH implementation (#4301) Per documentation, this was the wrong way to test for ESRCH. This hopefully fixes it. Fixes: https://github.com/libuv/libuv/issues/4300 |
3f7191e5 | 05-Feb-2024 |
Brad King |
win/spawn: optionally run executable paths with no file extension (#4292) Add a process options flag to enable the optional behavior. Most users are likely recommended to set this flag b
win/spawn: optionally run executable paths with no file extension (#4292) Add a process options flag to enable the optional behavior. Most users are likely recommended to set this flag by default, but it was deemed potentially breaking to set it by default in libuv. Co-authored-by: Kyle Edwards <kyle.edwards@kitware.com>
show more ...
|
535efdf3 | 21-Jan-2024 |
Jameson Nash |
build: re-enable msvc-asan job on CI (#4289) |
f98516dd | 19-Jan-2024 |
Santiago Gimeno |
doc: add very basic Security Policy document (#4290) |
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 ...
|