mirror of
https://github.com/frappe/gunicorn.git
synced 2026-07-02 18:51:31 +08:00
Update settings.md for simplified http_parser options
This commit is contained in:
parent
e8150e27b2
commit
8ad49b8df3
@ -1978,14 +1978,16 @@ This setting only affects the ``asgi`` worker type.
|
|||||||
|
|
||||||
**Default:** `'auto'`
|
**Default:** `'auto'`
|
||||||
|
|
||||||
HTTP parser implementation.
|
HTTP parser implementation for ASGI workers.
|
||||||
|
|
||||||
- auto: Use gunicorn_h1c if available, otherwise pure Python (default)
|
- auto: Use H1CProtocol if gunicorn_h1c is available, else PythonProtocol (default)
|
||||||
- fast: Require gunicorn_h1c C extension (fail if unavailable)
|
- fast: Require H1CProtocol from gunicorn_h1c (fail if unavailable)
|
||||||
- python: Force pure Python parser
|
- python: Force pure Python PythonProtocol parser
|
||||||
|
|
||||||
The gunicorn_h1c C extension provides significantly faster HTTP
|
ASGI workers use callback-based parsing in data_received() for efficient
|
||||||
parsing using picohttpparser with SIMD optimizations. Install it
|
incremental parsing. The gunicorn_h1c C extension provides significantly
|
||||||
with: pip install gunicorn[fast]
|
faster HTTP parsing using picohttpparser with SIMD optimizations.
|
||||||
|
|
||||||
|
Install it with: pip install gunicorn[fast]
|
||||||
|
|
||||||
!!! info "Added in 25.0.0"
|
!!! info "Added in 25.0.0"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user