@@ -144,11 +144,11 @@ changes:
144144 header is always sent when using an agent except when the ` Connection `
145145 header is explicitly specified or when the ` keepAlive ` and ` maxSockets `
146146 options are respectively set to ` false ` and ` Infinity ` , in which case
147- ` Connection: close ` will be used. ** Default:** ` false ` .
147+ ` Connection: close ` will be used. ** Default:** ` true ` .
148148 * ` keepAliveMsecs ` {number} When using the ` keepAlive ` option, specifies
149149 the [ initial delay] [ ]
150150 for TCP Keep-Alive packets. Ignored when the
151- ` keepAlive ` option is ` false ` or ` undefined ` . ** Default:** ` 1000 ` .
151+ ` keepAlive ` option is ` false ` . ** Default:** ` 1000 ` .
152152 * ` maxSockets ` {number} Maximum number of sockets to allow per host.
153153 If the same host opens multiple concurrent connections, each request
154154 will use new socket until the ` maxSockets ` value is reached.
@@ -2871,14 +2871,14 @@ changes:
28712871 ** Default:** 16384 (16 KB).
28722872 * ` noDelay ` {boolean} If set to ` true ` , it disables the use of Nagle's
28732873 algorithm immediately after a new incoming connection is received.
2874- ** Default:** ` false ` .
2874+ ** Default:** ` true ` .
28752875 * ` keepAlive ` {boolean} If set to ` true ` , it enables keep-alive functionality
28762876 on the socket immediately after a new incoming connection is received,
28772877 similarly on what is done in \[ ` socket.setKeepAlive([enable][, initialDelay]) ` ] \[ ` socket.setKeepAlive(enable, initialDelay) ` ] .
2878- ** Default:** ` false ` .
2878+ ** Default:** ` true ` .
28792879 * ` keepAliveInitialDelay ` {number} If set to a positive number, it sets the
28802880 initial delay before the first keepalive probe is sent on an idle socket.
2881- ** Default:** ` 0 ` .
2881+ ** Default:** ` 60000 ` .
28822882
28832883* ` requestListener ` {Function}
28842884
0 commit comments