Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion posts/en/req_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ These are the available config options for making requests. Only the `url` is re

// `httpAgent` and `httpsAgent` define a custom agent to be used when performing http
// and https requests, respectively, in node.js. This allows options to be added like
// `keepAlive` that are not enabled by default.
// `keepAlive` that are not enabled by default. Since node.js v19.0.0, the default
// `http.globalAgent` and `https.globalAgent` instances are created with `keepAlive: true`
httpAgent: new http.Agent({ keepAlive: true }),
httpsAgent: new https.Agent({ keepAlive: true }),

Expand Down