From fbb98fd0f68da8cba05b433cdb25be966fbdfbd1 Mon Sep 17 00:00:00 2001 From: Howie Zhao Date: Fri, 25 Apr 2025 16:11:27 +0800 Subject: [PATCH] doc: add default value for the `timeout` option of `http.Agent` in `http.md` --- doc/api/http.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/api/http.md b/doc/api/http.md index 19d0f017f5f920..b28f5e9f1f71a2 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -178,6 +178,7 @@ changes: **Default:** `'lifo'`. * `timeout` {number} Socket timeout in milliseconds. This will set the timeout when the socket is created. + **Default:** `0` (no timeout). `options` in [`socket.connect()`][] are also supported.