Files
node/lib
Seth Brenith 862389b0aa http: simplify checkInvalidHeaderChar
In the spirit of [17399](https://github.com/nodejs/node/pull/17399),
we can also simplify checkInvalidHeaderChar to use regex matching
instead of a loop. This makes it faster on long matches and slower
on short matches or non-matches. This change also includes some
sample data from an AcmeAir benchmark run, as a rough proxy for
real-world data.

PR-URL: https://github.com/nodejs/node/pull/18381
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Benedikt Meurer <benedikt.meurer@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
2018-02-16 19:27:28 +01:00
..
2018-02-07 12:21:42 -05:00
2018-02-09 08:45:51 -05:00
2018-02-16 18:09:56 +01:00
2018-02-16 18:09:56 +01:00
2017-08-28 00:39:42 +04:00
2018-02-16 18:09:56 +01:00
2016-10-04 12:17:32 -04:00
2018-02-16 18:09:56 +01:00
2018-02-16 18:09:56 +01:00
2017-03-10 11:23:48 -08:00
2018-01-31 18:36:43 +01:00
2018-01-30 17:00:57 -08:00
2018-02-16 18:09:56 +01:00