Age | Commit message (Collapse) | Author |
|
This makes the `range_header_filter` overridable. The new default implementation
is what we were doing instead of calling a hook.
|
|
- test content-length=0 header
- test HEADERS frames without EOS follows and an empty DATA frame with EOS
|
|
Includes-commit: 87a0483e19cd79907f6a9851eecaac5d0a1bf4b1
Includes-commit: 1978a261816afbe5bf1cf56977dbc67e2d6cba1a
Includes-commit: f9730f6c71dc8a3ecf57e8e1a512462bbb6b7ea4
Includes-commit: 141996d93c6b088edc81a70bf062ed41154c8c74
Includes-commit: b8415685cb192e0d11f4cfb751e01eb26b8a5e5f
Includes-commit: 67283ad69f6ea04e219ac827bb9cf7cc4808da06
Includes-commit: d644ecc4186ccbf65442defff4fa34c2307d6a0a
Replicated-from: https://github.com/cloudflare/pingora/pull/480
Co-authored-by: Viacheslav Biriukov <[email protected]>
|
|
When a downstream error occurs while a cache miss is being served, the
downstream error is ignored so the upstream can continue writing to the
cache. However, it is not safe to try reusing the server session in this
case.
|
|
Co-authored-by: Fredrik Enestad <[email protected]>
|
|
|
|
When a user calls `release_http_session` on an http Connector, it is
usually implied that they intend to reuse the underlying connection if
possible. Previously for H1 this involved reaching into the H1 client
Session and calling `respect_keepalive`. The new behavior always
respects keepalive as part of releasing the http session, as it was very
easy to overlook this step and unintentionally disable connection reuse
for H1 sessions.
|
|
|
|
trailer filter
|
|
This filter allows customizing the `ETag`/`Last-Modified` check to see
if the proxy cache can return 304 Not Modified instead of the full
response.
Also flesh out the `ETag`/`Last-Modified` handling in the base
`not_modified_filter` with `If-None-Match` and `If-Modified-Since`.
|
|
And other things.
Co-authored-by: DimanNe <[email protected]>
Co-authored-by: Xiaobo Liu <[email protected]>
Co-authored-by: houseme <[email protected]>
Co-authored-by: lilo <[email protected]>
Co-authored-by: Yang He <[email protected]>
|
|
|
|
The vast majority of these are redundant imports.
|
|
Co-authored-by: Andrew Hauck <[email protected]>
Co-authored-by: Edward Wang <[email protected]>
|