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
Allow larger header size in local dev environments
Non-Goals
No response
Background
Since NextJS switched to 'undici', local dev environment fails when request headers are too large. See related issue nodejs/node#47246, 'undici' does not use global node config and needs its own param.
Proposal
Add 'maxHeaderSize' property to httpAgentOptions in next.config.js and pass it to 'undici' on startup.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Non-Goals
No response
Background
Since NextJS switched to 'undici', local dev environment fails when request headers are too large. See related issue nodejs/node#47246, 'undici' does not use global node config and needs its own param.
Proposal
Add 'maxHeaderSize' property to httpAgentOptions in next.config.js and pass it to 'undici' on startup.
Beta Was this translation helpful? Give feedback.
All reactions