blob: 1f10e20cce23d626051ef99a66662dbb44f56a02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 .``
|