Khafra
Khafra
> Can I "teach" Undici to fetch files? Can I override this behavior in any way, not being in charge of that request-issuing library? We've decided in previous discussions not...
Sounds fine to me.
#3274 might solve this, I'd need to see some uses for a standalone decompress.
Therefore undici seems to be working properly? Since the parent AbortSignal is aborted, the dependent signal (ie. the one created for every instance of Request) can be garbage collected.
Currently when a Request is collected, the signal is removed (see https://github.com/nodejs/undici/pull/1113) > must not be garbage collected while its [source signals](https://dom.spec.whatwg.org/#abortsignal-source-signals) is non-empty and it has registered event listeners...
I believe this is a bug in node - ```js const ac = new AbortController(); ac.signal.addEventListener("abort", () => { console.log("ac signal aborted"); }); const request = { signal: (() =>...
The entire node shim can be removed. Something like https://github.com/cloudflare/cloudflare-typescript/compare/main...KhafraDev:cloudflare-typescript:remove-node-fetch maybe.
@metcoder95 ``` test at test/http2.js:370:1 ✖ [v20] Request should fail if allowH2 is false and server advertises h1 only (8.785301ms) AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual...
It executes on versions >= 20 https://github.com/nodejs/undici/blob/69cfd97591c0a1eec563590df862caeed304f1c3/test/http2.js#L372
I'm sorry I don't have any time to test.