1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-28 16:20:57 -05:00
denoland-deno/ext/fetch
Matt Mastracci 56fec538e1
fix(ext/http): ensure signal is created iff requested (#23601)
This correctly creates the `AbortSignal` regardless of when we request
it. If the signal is requested after the request has completed, the
signal is created in the aborted state.

Using GC counts, we can see a reduction in object creation:

This PR: 440
deno 1.42.4: 1650
deno 1.43.0+b02ffec: 874
2024-04-29 09:40:02 -06:00
..
20_headers.js refactor: use core.ensureFastOps() (#21888) 2024-01-10 15:37:25 -07:00
21_formdata.js chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
22_body.js refactor: use core.ensureFastOps() (#21888) 2024-01-10 15:37:25 -07:00
22_http_client.js feat(ext/net): extract TLS key and certificate from interfaces (#23327) 2024-04-18 11:21:08 -06:00
23_request.js fix(ext/http): ensure signal is created iff requested (#23601) 2024-04-29 09:40:02 -06:00
23_response.js chore: replace 'call' to 'execute' in error messages (#22579) 2024-03-10 02:23:14 +00:00
26_fetch.js fix(ext/fetch): make EventSource more robust (#22493) 2024-03-24 18:49:01 +01:00
27_eventsource.js fix(ext/fetch): do not truncate field value in EventSource (#22368) 2024-03-25 07:31:13 -07:00
Cargo.toml 1.43.0 (#23549) 2024-04-25 15:14:26 +05:30
fs_fetch_handler.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
internal.d.ts perf(ext/http): recover memory for serve and optimize AbortController (#23559) 2024-04-25 14:52:24 -04:00
lib.deno_fetch.d.ts fix: add EventSource typings (#21908) 2024-01-12 13:28:54 +00:00
lib.rs refactor(ext/tls): use cppgc to deduplicate the tls key loading code (#23289) 2024-04-08 15:01:02 -06:00
README.md Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00

deno_fetch

This crate implements the Fetch API.

Spec: https://fetch.spec.whatwg.org/