Package: gunicorn / 20.1.0-6+deb12u1
Metadata
| Package | Version | Patches format |
|---|---|---|
| gunicorn | 20.1.0-6+deb12u1 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| 0001 drop supplemental groups.patch | (download) |
gunicorn/util.py |
7 7 + 0 - 0 ! |
also drop supplemental groups. |
| 0002 use system js libs.patch | (download) |
examples/websocket/websocket.html |
4 2 + 2 - 0 ! |
use-system-js-libs |
| 0003 Don t call chown 2 if it would be a no op.patch | (download) |
gunicorn/util.py |
2 2 + 0 - 0 ! |
don't call chown(2) if it would be a no-op. Signed-off-by: Chris Lamb <lamby@debian.org> |
| 0004 Set supplementary groups when changing uid.patch | (download) |
gunicorn/util.py |
16 16 + 0 - 0 ! |
set supplementary groups when changing uid. Thanks to Filippos Giannakos <philipgian@grnet.gr>. Signed-off-by: Chris Lamb <lamby@debian.org> |
| 0005 eventlet worker ALREADY_HANDLED WSGI_LOCAL.patch | (download) |
gunicorn/workers/geventlet.py |
11 10 + 1 - 0 ! |
eventlet worker: already_handled -> wsgi_local Eventlet v0.30.3+ removed wsgi.ALREADY_HANDLED in favor of `wsgi.WSGI_LOCAL.already_handled: bool` Sorry, this breaking change happened during only patch version increase 0.30.2 -> 0.30.3 https://github.com/eventlet/eventlet/issues/543 https://github.com/eventlet/eventlet/pull/544 |
| 0001 fail safe on unsupported request framing.patch | (download) |
gunicorn/config.py |
18 18 + 0 - 0 ! |
fail-safe on unsupported request framing If we promise wsgi.input_terminated, we better get it right - or not at all. * chunked encoding on HTTP <= 1.1 * chunked not last transfer coding * multiple chinked codings * any unknown codings (yes, this too! because we do not detect unusual syntax that is still chunked) * empty coding (plausibly harmless, but not see in real life anyway - refused, for the moment) |
| 0002 RFC compliant header field chunk validation.patch | (download) |
gunicorn/http/body.py |
5 2 + 3 - 0 ! |
rfc compliant header field+chunk validation * update HEADER_RE and HEADER_VALUE_RE to match the RFCs * update chunk length parsing to disallow 0x prefix and digit-separating underscores. |
| 0003 Disallow empty header names.patch | (download) |
gunicorn/http/message.py |
2 1 + 1 - 0 ! |
disallow empty header names. |
| 0004 RFC compliant request line and header parsing.patch | (download) |
gunicorn/http/message.py |
33 16 + 17 - 0 ! |
rfc compliant request line and header parsing
- Unify HEADER_RE and METH_RE
- Replace CRLF with SP during obs-fold processing (See RFC 9112 Section 5.2, last paragraph)
- Stop stripping header names.
- Remove HTAB in OWS in header values that use obs-fold (See RFC 9112 Section 5.2, last paragraph)
- Use fullmatch instead of search, which has problems with empty strings. (See GHSA-68xg-gqqm-vgj8)
- Split proxy protocol line on space only. (See proxy protocol Section 2.1, bullet 3)
- Use fullmatch for method and version (Thank you to Paul Dorn for noticing this.)
- Replace calls to str.strip() with str.strip(' \t')
- Split request line on SP only.
Co-authored-by: Paul Dorn <pajod@users.noreply.github.com>
|
| 0005 pytest raise on malformed test fixtures.patch | (download) |
tests/treq.py |
15 11 + 4 - 0 ! |
pytest: raise on malformed test fixtures and unbreak test depending on backslash escape |
