summaryrefslogtreecommitdiffstats
path: root/third_party/python/aiohttp/vendor/README.rst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /third_party/python/aiohttp/vendor/README.rst
parentInitial commit. (diff)
downloadfirefox-upstream/124.0.1.tar.xz
firefox-upstream/124.0.1.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/python/aiohttp/vendor/README.rst')
-rw-r--r--third_party/python/aiohttp/vendor/README.rst23
1 files changed, 23 insertions, 0 deletions
diff --git a/third_party/python/aiohttp/vendor/README.rst b/third_party/python/aiohttp/vendor/README.rst
new file mode 100644
index 0000000000..1f10e20cce
--- /dev/null
+++ b/third_party/python/aiohttp/vendor/README.rst
@@ -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 .``