mirror of
https://github.com/frappe/gunicorn.git
synced 2026-07-01 10:11:30 +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'`
|
||||
|
||||
HTTP parser implementation.
|
||||
HTTP parser implementation for ASGI workers.
|
||||
|
||||
- auto: Use gunicorn_h1c if available, otherwise pure Python (default)
|
||||
- fast: Require gunicorn_h1c C extension (fail if unavailable)
|
||||
- python: Force pure Python parser
|
||||
- auto: Use H1CProtocol if gunicorn_h1c is available, else PythonProtocol (default)
|
||||
- fast: Require H1CProtocol from gunicorn_h1c (fail if unavailable)
|
||||
- python: Force pure Python PythonProtocol parser
|
||||
|
||||
The gunicorn_h1c C extension provides significantly faster HTTP
|
||||
parsing using picohttpparser with SIMD optimizations. Install it
|
||||
with: pip install gunicorn[fast]
|
||||
ASGI workers use callback-based parsing in data_received() for efficient
|
||||
incremental parsing. The gunicorn_h1c C extension provides significantly
|
||||
faster HTTP parsing using picohttpparser with SIMD optimizations.
|
||||
|
||||
Install it with: pip install gunicorn[fast]
|
||||
|
||||
!!! info "Added in 25.0.0"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user