Skip to content

Commit

Permalink
http: switch to regexp-less, LF-compatible js parser
Browse files Browse the repository at this point in the history
See this[1] comment for more details and benchmark results.

Notable changes:
 * Removed all regexps. Only request URLs are not validated
currently.
 * Added globally configurable start line length limits
 * Chunk size parsing no longer line buffers
 * Lines can end in just LF too
 * Faster than the original regexp-based implementation

[1] nodejs#1457 (comment)
  • Loading branch information
mscdex committed Jul 9, 2015
1 parent 5d37927 commit da1a955
Showing 1 changed file with 352 additions and 499 deletions.
Loading

0 comments on commit da1a955

Please sign in to comment.