本页还没有译文
本页 4 段还没译成简体中文,下面显示的是英文原文。httpAgentOptions
还没翻译译自英文(nextjs.org)本页 4 段都还没译
In Node.js versions prior to 18, Next.js automatically polyfills fetch() with undici and enables HTTP Keep-Alive by default.
To disable HTTP Keep-Alive for all fetch() calls on the server-side, open next.config.js and add the httpAgentOptions config:
next.config.js
module.exports = {
httpAgentOptions: {
keepAlive: false,
},
}AI 翻译查看英文原文