You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Was able to use npm:[email protected] as http socketPath workaround.
But now unable to use npm:[email protected] as http socketPath workaround.
Reproduce
import{describe,it}from"https://deno.land/[email protected]/testing/bdd.ts";import{fetchasundiciFetch,// getGlobalAgent, setGlobalAgent, Agent// } from "npm:[email protected]";}from"npm:[email protected]";describe("reproduce",()=>{it("reproduce",async()=>{// const agent = new Agent()// setGlobalAgent(agent)constresp=awaitundiciFetch("https://unpkg.com");awaitresp.text();// await agent.destroy()});});
error: TypeError: fetch failed
at fetch (file:///home/vscode/.cache/deno/npm/x-registry-yarnpkg-com/undici/5.26.3/index.js:110:15)
at eventLoopTick (ext:core/01_core.js:183:11)
at async Object.<anonymous> (file:///tmp/x.ts:7:18)
at async Function.runTest (https://deno.land/[email protected]/testing/_test_suite.ts:358:7)
at async Function.runTest (https://deno.land/[email protected]/testing/_test_suite.ts:346:9)
at async fn (https://deno.land/[email protected]/testing/_test_suite.ts:316:13)
Caused by: AssertionError
at new AssertionError (ext:deno_node/assertion_error.ts:414:11)
at toNode (node:assert:44:15)
at assert (node:assert:61:3)
at new Parser (file:///home/vscode/.cache/deno/npm/x-registry-yarnpkg-com/undici/5.26.3/lib/client.js:568:5)
at connect (file:///home/vscode/.cache/deno/npm/x-registry-yarnpkg-com/undici/5.26.3/lib/client.js:1269:25)
The text was updated successfully, but these errors were encountered:
loynoir
changed the title
[node compatibility] [email protected]
[node compatibility] undici as http socketPath workaround, now not working at version 5.26.3Oct 18, 2023
loynoir
changed the title
[node compatibility] undici as http socketPath workaround, now not working at version 5.26.3
[node compatibility] undici as http socketPath workaround, now not working at version 5.26.3, due to tls.connecthighWaterMarkOct 18, 2023
loynoir
changed the title
[node compatibility] undici as http socketPath workaround, now not working at version 5.26.3, due to tls.connecthighWaterMark
[node compatibility] undici as http socketPath workaround, now not working at version 5.26.3, may due to tls.connecthighWaterMarkOct 18, 2023
Background
Was able to use
npm:[email protected]
ashttp socketPath
workaround.But now unable to use
npm:[email protected]
ashttp socketPath
workaround.Reproduce
Related
Lack of
undiciGracefulDispose()
nodejs/undici#2206node/http.ts
http.request
should supportsocketPath
option #17910The text was updated successfully, but these errors were encountered: