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

A somewhat standard env var used in proxying applications is the `HTTP_PROXY` and `NO_PROXY` variables. Undici should support automatically setting a global dispatcher if HTTP_PROXY env var is used. Currently...

enhancement
Status: help-wanted

## Bug Description Each redirect adds one `terminated` listener to fetchParams and it's never removed. ## Reproducible By ```mjs import { once } from 'events' import { createServer } from...

bug

Implements [FileReader](https://w3c.github.io/FileAPI/#APIASynch) Benefits: - Allowed me to enable the idlharness tests for the FileAPI section (Blob, URL, File, etc.) - found 2 issues in File, 6 in Blob, and 2...

We should update llhttp to the latest version.

enhancement
good first issue
dependencies

## Bug Description When requesting certain endpoints of the GitHub API, `undici` crashes with `SocketError: closed` Full Error ``` /path/to/node_modules/undici/lib/client.js:967 const err = this[kError] || new SocketError('closed', util.getSocketInfo(this)) ^ SocketError:...

bug
Status: help-wanted

## This would solve... Basic authentication is hard coded at https://github.com/nodejs/undici/blob/8d6ddb7e2e2d0c22a3814c33b08edf1480c1e586/lib/proxy-agent.js#L59 Sometimes we have to use other authentication. (Bearer etc..) ## The implementation should look like... Add additional parameter to...

enhancement

``` /home/obziappdev/wheat/node_modules/undici/lib/client.js:1167 if (socket[kParser].timeoutType !== TIMEOUT_IDLE) { ^ TypeError: Cannot read properties of undefined (reading 'timeoutType') at _resume (/home/obziappdev/wheat/node_modules/undici/lib/client.js:1167:29) at resume (/home/obziappdev/wheat/node_modules/undici/lib/client.js:1131:3) at connect (/home/obziappdev/wheat/node_modules/undici/lib/client.js:1116:3) ``` When i Started my...

We check if signal is aborted here: https://github.com/nodejs/undici/blob/9c3f34c97dfce7f7f6cffd04b7d4dab9921dc40d/lib/fetch/index.js#L126 and the promise gets rejected here: https://github.com/nodejs/undici/blob/9c3f34c97dfce7f7f6cffd04b7d4dab9921dc40d/lib/fetch/index.js#L304 ```js import { fetch, setGlobalOrigin } from 'undici' import assert from 'assert' setGlobalOrigin('http://localhost:3000') const controller...

good first issue
fetch
wpt

## Bug Description I hit the issue when I create systemd service and set memory limit as LimitAS=6G. node 18 ``` TypeError: fetch failed at Object.processResponse (node:internal/deps/undici/undici:6406:34) at node:internal/deps/undici/undici:6727:42 at...

bug
Status: help-wanted

## This would solve... Sometimes we have to fetch user provided URL. In that case some users can provide a link to something big, like 4k video. In that cases...

enhancement
good first issue
Agent