@@ -3142,53 +3142,53 @@ changes:
3142
3142
-->
3143
3143
3144
3144
* ` options ` {Object}
3145
- * ` IncomingMessage ` {http.IncomingMessage} Specifies the ` IncomingMessage `
3146
- class to be used. Useful for extending the original ` IncomingMessage ` .
3147
- ** Default:** ` IncomingMessage ` .
3148
- * ` ServerResponse ` {http.ServerResponse} Specifies the ` ServerResponse ` class
3149
- to be used. Useful for extending the original ` ServerResponse ` . ** Default:**
3150
- ` ServerResponse ` .
3151
- * ` requestTimeout ` : Sets the timeout value in milliseconds for receiving
3152
- the entire request from the client.
3153
- See [ ` server.requestTimeout ` ] [ ] for more information.
3154
- ** Default:** ` 300000 ` .
3145
+ * ` connectionsCheckingInterval ` : Sets the interval value in milliseconds to
3146
+ check for request and headers timeout in incomplete requests.
3147
+ ** Default:** ` 30000 ` .
3155
3148
* ` headersTimeout ` : Sets the timeout value in milliseconds for receiving
3156
3149
the complete HTTP headers from the client.
3157
3150
See [ ` server.headersTimeout ` ] [ ] for more information.
3158
3151
** Default:** ` 60000 ` .
3152
+ * ` insecureHTTPParser ` {boolean} Use an insecure HTTP parser that accepts
3153
+ invalid HTTP headers when ` true ` . Using the insecure parser should be
3154
+ avoided. See [ ` --insecure-http-parser ` ] [ ] for more information.
3155
+ ** Default:** ` false ` .
3156
+ * ` IncomingMessage ` {http.IncomingMessage} Specifies the ` IncomingMessage `
3157
+ class to be used. Useful for extending the original ` IncomingMessage ` .
3158
+ ** Default:** ` IncomingMessage ` .
3159
+ * ` keepAlive ` {boolean} If set to ` true ` , it enables keep-alive functionality
3160
+ on the socket immediately after a new incoming connection is received,
3161
+ similarly on what is done in \[ ` socket.setKeepAlive([enable][, initialDelay]) ` ] \[ ` socket.setKeepAlive(enable, initialDelay) ` ] .
3162
+ ** Default:** ` false ` .
3163
+ * ` keepAliveInitialDelay ` {number} If set to a positive number, it sets the
3164
+ initial delay before the first keepalive probe is sent on an idle socket.
3165
+ ** Default:** ` 0 ` .
3159
3166
* ` keepAliveTimeout ` : The number of milliseconds of inactivity a server
3160
3167
needs to wait for additional incoming data, after it has finished writing
3161
3168
the last response, before a socket will be destroyed.
3162
3169
See [ ` server.keepAliveTimeout ` ] [ ] for more information.
3163
3170
** Default:** ` 5000 ` .
3164
- * ` connectionsCheckingInterval ` : Sets the interval value in milliseconds to
3165
- check for request and headers timeout in incomplete requests.
3166
- ** Default:** ` 30000 ` .
3167
- * ` insecureHTTPParser ` {boolean} Use an insecure HTTP parser that accepts
3168
- invalid HTTP headers when ` true ` . Using the insecure parser should be
3169
- avoided. See [ ` --insecure-http-parser ` ] [ ] for more information.
3170
- ** Default:** ` false `
3171
3171
* ` maxHeaderSize ` {number} Optionally overrides the value of
3172
3172
[ ` --max-http-header-size ` ] [ ] for requests received by this server, i.e.
3173
3173
the maximum length of request headers in bytes.
3174
3174
** Default:** 16384 (16 KiB).
3175
3175
* ` noDelay ` {boolean} If set to ` true ` , it disables the use of Nagle's
3176
3176
algorithm immediately after a new incoming connection is received.
3177
3177
** Default:** ` true ` .
3178
- * ` keepAlive ` {boolean} If set to ` true ` , it enables keep-alive functionality
3179
- on the socket immediately after a new incoming connection is received,
3180
- similarly on what is done in \[ ` socket.setKeepAlive([enable][, initialDelay]) ` ] \[ ` socket.setKeepAlive(enable, initialDelay) ` ] .
3181
- ** Default:** ` false ` .
3182
- * ` keepAliveInitialDelay ` {number} If set to a positive number, it sets the
3183
- initial delay before the first keepalive probe is sent on an idle socket.
3184
- ** Default:** ` 0 ` .
3185
- * ` uniqueHeaders ` {Array} A list of response headers that should be sent only
3186
- once. If the header's value is an array, the items will be joined
3187
- using ` ; ` .
3178
+ * ` requestTimeout ` : Sets the timeout value in milliseconds for receiving
3179
+ the entire request from the client.
3180
+ See [ ` server.requestTimeout ` ] [ ] for more information.
3188
3181
* ` requireHostHeader ` {boolean} It forces the server to respond with
3189
3182
a 400 (Bad Request) status code to any HTTP/1.1 request message
3190
3183
that lacks a Host header (as mandated by the specification).
3191
3184
** Default:** ` true ` .
3185
+ * ` ServerResponse ` {http.ServerResponse} Specifies the ` ServerResponse ` class
3186
+ to be used. Useful for extending the original ` ServerResponse ` . ** Default:**
3187
+ ` ServerResponse ` .
3188
+ ** Default:** ` 300000 ` .
3189
+ * ` uniqueHeaders ` {Array} A list of response headers that should be sent only
3190
+ once. If the header's value is an array, the items will be joined
3191
+ using ` ; ` .
3192
3192
3193
3193
* ` requestListener ` {Function}
3194
3194
0 commit comments