undici icon indicating copy to clipboard operation
undici copied to clipboard

An HTTP/1.1 client, written from scratch for Node.js

Results 379 undici issues
Sort by recently updated
recently updated
newest added

## Bug Description I'm trying to send a request to a local server running HTTP/2 without TLS (H2C) over a unix domain socket. This is what my company uses for...

enhancement
H2

https://whatpr.org/websockets/48/7b748d3...7b81f79.html#the-websocketstream-interface Now that the spec has been written, it's time to add it. ```mjs const ws = new WebSocketStream(`wss://my.websocket.server`) ws.opened.then((init) => { const writer = init.writable.getWriter() writer.ready.then(() => writer.write(Buffer.from([65, 66,...

### Discussed in https://github.com/nodejs/undici/discussions/2891 Originally posted by **metcoder95** February 29, 2024 Hey! 👋 Wanted to open a discussion just to get your thoughts on this as I have been thinking...

Performance

The current behavior was broken. The user must decide if and how a request should be retried. ## This relates to... ## Rationale ## Changes ### Features ### Bug Fixes...

I find it highly confusing, that e.g. when I call .body() on a fetch response and it errors I get all the internal functions in the stacktrace. This is maybe...

enhancement

TODO: - [x] remove anti-pattern dispatcher hooks - [x] remove old interceptor pattern (https://github.com/nodejs/undici/pull/2754) - [x] new interceptor pattern (https://github.com/nodejs/undici/pull/2795) - [ ] change so that dispatcher hooks take an...

enhancement

Make them run faster

enhancement

## Bug Description I’ll say right away that the bug is floating and I don’t have a ready-made recipe for reproducing it. The bug usually appeared during debugging. Apparently, timings...

bug

If a user can't consume the body anymore, we can just dump it. We can detect a response is not accessible by the use of a `FinalizationRegistry`. @KhafraDev I think...