deno/runtime/ops
Felipe Cardozo 355d8994b2
Some checks failed
ci / pre-build (push) Has been cancelled
ci / test debug linux-aarch64 (push) Has been cancelled
ci / test release linux-aarch64 (push) Has been cancelled
ci / test debug macos-aarch64 (push) Has been cancelled
ci / test release macos-aarch64 (push) Has been cancelled
ci / bench release linux-x86_64 (push) Has been cancelled
ci / test debug linux-x86_64 (push) Has been cancelled
ci / test release linux-x86_64 (push) Has been cancelled
ci / test debug macos-x86_64 (push) Has been cancelled
ci / test release macos-x86_64 (push) Has been cancelled
ci / test debug windows-x86_64 (push) Has been cancelled
ci / test release windows-x86_64 (push) Has been cancelled
ci / lint debug linux-x86_64 (push) Has been cancelled
ci / lint debug macos-x86_64 (push) Has been cancelled
ci / lint debug windows-x86_64 (push) Has been cancelled
ci / build libs (push) Has been cancelled
ci / publish canary (push) Has been cancelled
fix: fetch fd leak (#31375)
Solution for: https://github.com/denoland/deno/issues/31080

Modern reqwest (0.12+) can safely share clients across tokio runtimes.
Because it uses the current runtime's executor instead of spawning
background threads.
Using a single shared client prevents resource leaks when worker threads
terminate.

## Context
It seems that we started to use one client per thread because hyper and
reqwest was not safe to share across tokio runtimes
(https://github.com/denoland/deno/pull/23699). But seems it's fixed at
latest reqwest versions
(https://github.com/seanmonstar/reqwest/issues/1148#issuecomment-3120048532).

This PR is using one client again, as we now already use the version of
reqwest with this fix.
2025-11-21 23:27:04 -03:00
..
web_worker fix: fetch fd leak (#31375) 2025-11-21 23:27:04 -03:00
bootstrap.rs chore: update to edition 2024 (#29923) 2025-07-02 17:59:39 -07:00
fs_events.rs chore: Rust 1.89.0 (#30364) 2025-08-09 11:11:48 +00:00
http.rs Revert "fix(ext/node): support TLS for unix sockets" (#30284) 2025-08-02 09:11:23 +00:00
mod.rs feat: use new feature checker (#29091) 2025-04-29 17:18:14 +02:00
permissions.rs feat: add --ignore-env=... (#31187) 2025-11-19 15:49:06 +00:00
runtime.rs chore: update to edition 2024 (#29923) 2025-07-02 17:59:39 -07:00
tty.rs chore: update to edition 2024 (#29923) 2025-07-02 17:59:39 -07:00
web_worker.rs chore: update to edition 2024 (#29923) 2025-07-02 17:59:39 -07:00
worker_host.rs fix(coverage): collect coverage data for workers (#30807) 2025-09-23 00:33:53 +02:00