-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
(cherry picked from commit 41e2c4c)
- Loading branch information
1 parent
f07e9b4
commit 9337fb3
Showing
5 changed files
with
28 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[submodule "vendor/llhttp"] | ||
path = vendor/llhttp | ||
url = https://github.com/nodejs/llhttp.git | ||
branch = v8.1.1 | ||
branch = v8.x |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
LLHTTP | ||
------ | ||
|
||
When building aiohttp from source, there is a pure Python parser used by default. | ||
For better performance, you may want to build the higher performance C parser. | ||
|
||
To build this ``llhttp`` parser, first get/update the submodules (to update to a | ||
newer release, add ``--remote`` and check the branch in ``.gitmodules``):: | ||
|
||
git submodule update --init --recursive | ||
|
||
Then build ``llhttp``:: | ||
|
||
cd vendor/llhttp/ | ||
npm install | ||
make | ||
|
||
Then build our parser:: | ||
|
||
cd - | ||
make cythonize | ||
|
||
Then you can build or install it with ``python -m build`` or ``pip install -e .`` |
Submodule llhttp
updated
45 files