forked from nodejs/http-parser
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
save more space by removing buffer and shortening method
This also fixes test failures from the previous commit. It also adds support for the LOCK method, which was previously missing. This brings the size of http_parser from 44 bytes to 32 bytes. It also makes the code substantially shorter, at a slight cost in craziness.
- Loading branch information
Showing
2 changed files
with
73 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters