@@ -3250,9 +3250,9 @@ changes:
3250
3250
` readableHighWaterMark ` and ` writableHighWaterMark ` . This affects
3251
3251
` highWaterMark ` property of both ` IncomingMessage ` and ` ServerResponse ` .
3252
3252
** Default:** See [ ` stream.getDefaultHighWaterMark() ` ] [ ] .
3253
- * ` insecureHTTPParser ` {boolean} Use an insecure HTTP parser that accepts
3254
- invalid HTTP headers when ` true ` . Using the insecure parser should be
3255
- avoided. See [ ` --insecure-http-parser ` ] [ ] for more information.
3253
+ * ` insecureHTTPParser ` {boolean} If set to ` true ` , it will use a HTTP parser
3254
+ with leniency flags enabled . Using the insecure parser should be avoided.
3255
+ See [ ` --insecure-http-parser ` ] [ ] for more information.
3256
3256
** Default:** ` false ` .
3257
3257
* ` IncomingMessage ` {http.IncomingMessage} Specifies the ` IncomingMessage `
3258
3258
class to be used. Useful for extending the original ` IncomingMessage ` .
@@ -3512,9 +3512,9 @@ changes:
3512
3512
request to. ** Default:** ` 'localhost' ` .
3513
3513
* ` hostname ` {string} Alias for ` host ` . To support [ ` url.parse() ` ] [ ] ,
3514
3514
` hostname ` will be used if both ` host ` and ` hostname ` are specified.
3515
- * ` insecureHTTPParser ` {boolean} Use an insecure HTTP parser that accepts
3516
- invalid HTTP headers when ` true ` . Using the insecure parser should be
3517
- avoided. See [ ` --insecure-http-parser ` ] [ ] for more information.
3515
+ * ` insecureHTTPParser ` {boolean} If set to ` true ` , it will use a HTTP parser
3516
+ with leniency flags enabled . Using the insecure parser should be avoided.
3517
+ See [ ` --insecure-http-parser ` ] [ ] for more information.
3518
3518
** Default:** ` false `
3519
3519
* ` joinDuplicateHeaders ` {boolean} It joins the field line values of
3520
3520
multiple headers in a request with ` , ` instead of discarding
0 commit comments