Skip to content
⌘K

libuv

Cross-platform asynchronous I/O.

health 85contrib 6027k

Overview & architecture

C++ standard
–
Build systems
cmake, autotools
License
MIT
Languages
C
Last release
v1.53.0 · Sep 24, 2026

Repository activity

snapshot Nov 23, 2026
GitHub stars
latest
27k▲ 119
Merged PRs (30d)
latest
31▲ 7
Contributors (90d)
latest
32▲ 20
Issue first response p50
latest
10h▲ 2h
148 open issues134 open PRs28 commits (30d)3 good first issues3 help wanted

Recent notable activity

  • RFC / tracking
    RFC: defer EHOSTUNREACH/ENETUNREACH errors?

    Refs: A guiding principle we have in libuv is that programmer bugs are reported immediately (e.g. bad parameters) whereas runtime/transient errors are reported deferred, to the connect callback. In my opinion EHOSTUNREACH and ENETUNREACH…

    bnoordhuis#5358 · by bnoordhuis
  • Release
    libuv v1.53.0

    Dist files at What's Changed unix: fix pedantic compiler warnings by @bnoordhuis in win: fix const correctness compiler errors by @apocelipes in doc: clarify handle close behavior of uv_spawn by @bnoordhuis in doc: name function crosslinks consistently by @bnoordhuis in win: fix const correctness warning by…

    santigimenov1.53.0
  • Release
    libuv v1.52.1

    Dist files at Changes since version 1.52.0: * misc: add simple clang-tidy setup (Jameson Nash) * unix: check RLIMIT_AS and RLIMIT_DATA in uv_get_constrained_memory (Jameson Nash) * win: add fs-fd-hash-inl.h to tarball (tobil4sk) * unix,win: support NULL loop for sync uv_getaddrinfo (Saúl Ibarra Corretgé) * Fix…

    santigimenov1.52.1
  • Release
    libuv v1.52.0

    Dist files at Changes since version 1.51.0: src: remove unused include of in timer.c (Juan José Arboleda) test: skip udp_multicast_join if not system-wide available (Juan José Arboleda) test: remove unused include of in runner.h (Juan José Arboleda) doc: don't mention UV_LOOP_ENABLE_IO_URING_SQPOLL (Poul T Lomholt)…

    cjihrigv1.52.0
  • Release
    libuv v1.51.0

    Dist files at Notable Changes unix,win: accept NAN/INFINITY as file timestamps #4702 win: add ENABLE_VIRTUAL_TERMINAL_INPUT raw tty mode #4688 linux: align CPU quota calculation with Rust #4746 Important Bugs Fixed win: fix leak in uv_os_tmpdir #4680 linux: try preadv64/pwritev64 before preadv/pwritev #4683

    santigimenov1.51.0
  • Release
    libuv v1.50.0

    Dist files at Notable Changes win: drop support for windows 8 #4624 unix,win: add uv_udp_try_send2 #4644 win: drop support for the legacy MinGW #4645 misc: implement uv_getrusage_thread #4666 linux: always use io_uring for epoll batching #4638 Important Bugs Fixed win: fix leak processing fs event #4656 win: plug…

    santigimenov1.50.0
  • Release
    libuv v1.49.2

    Dist files at Important Bugs Fixed Revert "linux: eliminate a read on eventfd per wakeup (#4400)" #4585 win: Fix linked list logic in getaddrinfo #4578

    santigimenov1.49.2
  • Release
    libuv v1.49.1

    See for details. Dist files at Important Bugs Fixed win,pipe: ipc code does not support async read #4555 win,fs: fix bug in fs__readdir #4561 unix: work around arm-linux-gnueabihf-gcc bug #4565 #4564

    santigimenov1.49.1
  • Release
    libuv v1.49.0

    See for details. Dist files at Notable Changes linux: disable SQPOLL io_uring by default #4492 unix: reinstate preadv/pwritev fallback code #4345 win,fs: use the new Windows fast stat API #4327 Important Bugs Fixed win,pipe: fix race with concurrent readers #4470 win,signal: fix data race dispatching SIGWINCH #4488

    santigimenov1.49.0
  • Release
    libuv v1.48.0

    See for details. Dist files at Vulnerabilities fixed CVE-2024-24806 / GHSA-f74f-cvh7-c6q6 0f2d7e784a256b54b2385043438848047bc2a629, 3530bcc30350d4a6ccf35d2f7b33e23292b9de70 and e0327e1d508b8207c9150b6e582f0adf26213c39 Notable Changes linux: disable io_uring on ppc64 and ppc64le #4285 linux: disable io_uring on hppa…

    santigimenov1.48.0
  • Release
    libuv v1.47.0

    See for details. Dist files at Notable Changes linux: don't use io_uring on pre-5.10.186 kernels linux: disable io_uring on 32 bits arm systems unix: disable io_uring close on selected kernels --- unix: TCP_KEEPINTVL and TCP_KEEPCNT are available on OS X 10.8+ unix: add missing syscall numbers for RISC-V arch unix:…

    vtjnashv1.47.0

Stories

Major changeFor you

libuv: RFC: defer EHOSTUNREACH/ENETUNREACH errors?

Refs: A guiding principle we have in libuv is that programmer bugs are reported immediately (e.g. bad parameters) whereas runtime/transient errors are reported deferred, to the connect callback. In my opinion EHOSTUNREACH and ENETUNREACH…

Why it matters: An open RFC/proposal that is still up for discussion. libuv is in Concurrency & Runtime (one of your focus areas).

ReleaseFor you

libuv v1.53.0 released

Dist files at What's Changed unix: fix pedantic compiler warnings by @bnoordhuis in win: fix const correctness compiler errors by @apocelipes in doc: clarify handle close behavior of uv_spawn by @bnoordhuis in doc: name function crosslinks consistently by @bnoordhuis in win: fix const correctness…

Why it matters: First release in 7 months. libuv is in Concurrency & Runtime (one of your focus areas).

Maintainers & organizations

every claim links to its source

Maintainers

No maintainers recorded yet.

Top contributors

Releases & changelog

  • libuv v1.53.0major

    Dist files at What's Changed unix: fix pedantic compiler warnings by @bnoordhuis in win: fix const correctness compiler errors by @apocelipes in doc: clarify handle close behavior of uv_spawn by @bnoordhuis in doc: name function crosslinks consistently by @bnoordhuis in win: fix const correctness warning by…

  • libuv v1.52.1

    Dist files at Changes since version 1.52.0: * misc: add simple clang-tidy setup (Jameson Nash) * unix: check RLIMIT_AS and RLIMIT_DATA in uv_get_constrained_memory (Jameson Nash) * win: add fs-fd-hash-inl.h to tarball (tobil4sk) * unix,win: support NULL loop for sync uv_getaddrinfo (Saúl Ibarra Corretgé) * Fix…

  • libuv v1.52.0major

    Dist files at Changes since version 1.51.0: src: remove unused include of in timer.c (Juan José Arboleda) test: skip udp_multicast_join if not system-wide available (Juan José Arboleda) test: remove unused include of in runner.h (Juan José Arboleda) doc: don't mention UV_LOOP_ENABLE_IO_URING_SQPOLL (Poul T Lomholt)…

  • libuv v1.51.0major

    Dist files at Notable Changes unix,win: accept NAN/INFINITY as file timestamps #4702 win: add ENABLE_VIRTUAL_TERMINAL_INPUT raw tty mode #4688 linux: align CPU quota calculation with Rust #4746 Important Bugs Fixed win: fix leak in uv_os_tmpdir #4680 linux: try preadv64/pwritev64 before preadv/pwritev #4683

  • libuv v1.50.0major

    Dist files at Notable Changes win: drop support for windows 8 #4624 unix,win: add uv_udp_try_send2 #4644 win: drop support for the legacy MinGW #4645 misc: implement uv_getrusage_thread #4666 linux: always use io_uring for epoll batching #4638 Important Bugs Fixed win: fix leak processing fs event #4656 win: plug…

  • libuv v1.49.2

    Dist files at Important Bugs Fixed Revert "linux: eliminate a read on eventfd per wakeup (#4400)" #4585 win: Fix linked list logic in getaddrinfo #4578

  • libuv v1.49.1

    See for details. Dist files at Important Bugs Fixed win,pipe: ipc code does not support async read #4555 win,fs: fix bug in fs__readdir #4561 unix: work around arm-linux-gnueabihf-gcc bug #4565 #4564

  • libuv v1.49.0major

    See for details. Dist files at Notable Changes linux: disable SQPOLL io_uring by default #4492 unix: reinstate preadv/pwritev fallback code #4345 win,fs: use the new Windows fast stat API #4327 Important Bugs Fixed win,pipe: fix race with concurrent readers #4470 win,signal: fix data race dispatching SIGWINCH #4488

  • libuv v1.48.0major

    See for details. Dist files at Vulnerabilities fixed CVE-2024-24806 / GHSA-f74f-cvh7-c6q6 0f2d7e784a256b54b2385043438848047bc2a629, 3530bcc30350d4a6ccf35d2f7b33e23292b9de70 and e0327e1d508b8207c9150b6e582f0adf26213c39 Notable Changes linux: disable io_uring on ppc64 and ppc64le #4285 linux: disable io_uring on hppa…

  • libuv v1.47.0major

    See for details. Dist files at Notable Changes linux: don't use io_uring on pre-5.10.186 kernels linux: disable io_uring on 32 bits arm systems unix: disable io_uring close on selected kernels --- unix: TCP_KEEPINTVL and TCP_KEEPCNT are available on OS X 10.8+ unix: add missing syscall numbers for RISC-V arch unix:…

Contribution opportunities

0 published

No published opportunities

Cards are published only for real, open, unassigned issues with maintainer engagement.
2 more candidates below the publish threshold
LabelledstaleMatches your profileAsync I/O & Event Loops

IB behavior exposed by #2038

In Julia, we have a test that uv_fs_sendfile gracefully handled the 0-byte case, but with PR #2038, it now calls abort() in that test on Windows: 1460 static void fs__sendfile(uv_fs_t* req) { ... 1463 size_t length = req->fs.info.bufsml[0].len; // == 0 ... 1465 const size_t max_buf_size = 65536; 1466 size_t buf_size = length < max_buf_size ? length : max_buf_size; ... 1469 char* buf = (char*) uv__malloc(buf_size); 1470 if (!buf) { 1471 uv_fatal_error(ERROR_OUTOFMEMORY, "uv__malloc"); // now dead, Jim! 1472 } @bnoordhuis confirmed that this case is something the code is supposed to handle…

42score
testingwindows
  • Demand 25% × 0.00 = 00 reactions, 6 comments (not counted alone)
  • Technical fit 30% × 0.65 = 20libuv is in Concurrency & Runtime (a focus area); project tags you follow: concurrency, io-uring, linux
  • Maintainer engagement 25% × 0.45 = 11comments not checked; filed by a maintainer; project responsiveness 100%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
  • #2076 IB behavior exposed by #2038issue
    In Julia, we have a test that uv_fs_sendfile gracefully handled the 0-byte case, but with PR #2038, it now calls abort() in that test on Windows: 1460 static void fs__sendfile(uv_fs_t* req) { ... 1463 size_t length = req->fs.info.bufsml[0].len; // == 0 ... 1465 const size_t…
Suggested first step

Reproduce the bug on the latest main branch of libuv, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 12d ago
LabelledstaleMatches your profileAsync I/O & Event Loops

unix: remove UV_HANDLE_READING flag

On Unices, stream->flags & UV_HANDLE_READING is used only in src/unix/stream.c but it's redundant there, it's equivalent to stream->read_cb != NULL. uv_read_start() in src/uv-common.c checks the flag but that check can be moved to uv__read_start() in src/win/stream.c, with a concomitant check in src/unix/stream.c. Maybe uv_read_stop() in src/win/stream can be changed to set stream->read_cb = NULL and then uv_read_start() can check stream->read_cb != NULL instead, avoiding duplicate checks in uv__read_start(). Stretch goal: remove all uses of UV_HANDLE_READING in src/win as well. I _think_ it…

36score
concurrencylinux
  • Demand 25% × 0.00 = 00 reactions, 9 comments (not counted alone)
  • Technical fit 30% × 0.65 = 20libuv is in Concurrency & Runtime (a focus area); project tags you follow: concurrency, io-uring, linux
  • Maintainer engagement 25% × 0.45 = 11comments not checked; filed by a maintainer; project responsiveness 100%
  • Feasibility 20% × 0.25 = 5clear scope; project onboarding 50%
Evidence
  • #4995 unix: remove UV_HANDLE_READING flagissue
    On Unices, stream->flags & UV_HANDLE_READING is used only in src/unix/stream.c but it's redundant there, it's equivalent to stream->read_cb != NULL. uv_read_start() in src/uv-common.c checks the flag but that check can be moved to uv__read_start() in src/win/stream.c, with a…
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 11d ago

Why this score

Health 85Contribution friendliness 60computed 19h ago
  • Activity0.92
    31 merged PRs in 30 days (full marks at 20); 31 commits in 30 days (full marks at 60)health
  • Onboarding0.50
    has mainstream build (CMake/Bazel/Meson), CI; missing contributing guide, docs sitecontrib
  • Entry points0.29
    1 open, unassigned good-first-issue/help-wanted issues without a PR (full marks at 10)contrib
  • Maintainer responsiveness1.00
    median first maintainer response 10 h (full marks within 48 h, zero after 30 days); median PR merge time 32 h (full marks within 72 h, zero after 60 days)healthcontrib
  • Release cadence0.94
    last release 59 days ago (full marks within 90, zero after 730); 3 releases in 365 days (full marks at 4)health
  • Backlog pressure0.00
    95% of 21 scanned open issues are older than a year (full marks at <= 20%, zero at >= 80%)health
  • Contributor breadth0.93
    32 unique contributors in 90 days (full marks at 25); top contributor has 43% of commits; stars count for at most 5% of this signalhealth

Each signal is normalized to 0–1 with fixed thresholds; scores are weighted sums × 100. Stars are not an input.

Maintain, review, build and signals

other opportunities that concern this project