deno
fce52fa2 - fix(ext/node): support HTTP over Windows named pipes in node:http (#32414)

Commit
165 days ago
fix(ext/node): support HTTP over Windows named pipes in node:http (#32414) Add Windows Named Pipe support to Deno's Node.js HTTP compatibility layer, enabling libraries like `dockerode`/`docker-modem` that use `http.request({socketPath: "//./pipe/docker_engine"})` to work on Windows. Add `WindowsPipe` variant to `NetworkStream` with proper handling across HTTP server, request properties, and Node HTTP client ops. Implement EBUSY (ERROR_PIPE_BUSY / os error 231) retry logic in `Pipe.connect()` for Windows, emulating libuv's `WaitNamedPipeW` behavior with polling retries.
Author
Parents
Loading