@@ -3449,9 +3449,9 @@ changes:
3449
3449
` readableHighWaterMark ` and ` writableHighWaterMark ` . This affects
3450
3450
` highWaterMark ` property of both ` IncomingMessage ` and ` ServerResponse ` .
3451
3451
** Default:** See [ ` stream.getDefaultHighWaterMark() ` ] [ ] .
3452
- * ` insecureHTTPParser ` {boolean} Use an insecure HTTP parser that accepts
3453
- invalid HTTP headers when ` true ` . Using the insecure parser should be
3454
- avoided. See [ ` --insecure-http-parser ` ] [ ] for more information.
3452
+ * ` insecureHTTPParser ` {boolean} If set to ` true ` , it will use a HTTP parser
3453
+ with leniency flags enabled . Using the insecure parser should be avoided.
3454
+ See [ ` --insecure-http-parser ` ] [ ] for more information.
3455
3455
** Default:** ` false ` .
3456
3456
* ` IncomingMessage ` {http.IncomingMessage} Specifies the ` IncomingMessage `
3457
3457
class to be used. Useful for extending the original ` IncomingMessage ` .
@@ -3742,9 +3742,9 @@ changes:
3742
3742
request to. ** Default:** ` 'localhost' ` .
3743
3743
* ` hostname ` {string} Alias for ` host ` . To support [ ` url.parse() ` ] [ ] ,
3744
3744
` hostname ` will be used if both ` host ` and ` hostname ` are specified.
3745
- * ` insecureHTTPParser ` {boolean} Use an insecure HTTP parser that accepts
3746
- invalid HTTP headers when ` true ` . Using the insecure parser should be
3747
- avoided. See [ ` --insecure-http-parser ` ] [ ] for more information.
3745
+ * ` insecureHTTPParser ` {boolean} If set to ` true ` , it will use a HTTP parser
3746
+ with leniency flags enabled . Using the insecure parser should be avoided.
3747
+ See [ ` --insecure-http-parser ` ] [ ] for more information.
3748
3748
** Default:** ` false `
3749
3749
* ` joinDuplicateHeaders ` {boolean} It joins the field line values of
3750
3750
multiple headers in a request with ` , ` instead of discarding
0 commit comments