aboutsummaryrefslogtreecommitdiffhomepage
path: root/pingora-proxy/src/proxy_h1.rs
AgeCommit message (Collapse)Author
5 daysadd range_header_filter to proxy traitHEADmainMatthew Gumport
This makes the `range_header_filter` overridable. The new default implementation is what we were doing instead of calling a hook.
5 daysadd h2 server session testsViacheslav Biriukov
- test content-length=0 header - test HEADERS frames without EOS follows and an empty DATA frame with EOS
5 daysfix deadloop if proxy_handle_upstream exit early than proxy_handle_downstreamtaikulawo
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]>
2024-10-11Don't reuse session when downstream errors during cache missEdward Wang
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.
2024-10-11Windows supportYuchen Wu
Co-authored-by: Fredrik Enestad <[email protected]>
2024-07-12Invoke request_body_filter of modules for proxiesYuchen Wu
2024-06-28Always respect_keepalive when releasing http sessionEdward Wang
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.
2024-05-24Add request body filterYuchen Wu
2024-04-26Add support for downstream h2 trailers and add an upstream h2 response ↵Andrew Hauck
trailer filter
2024-04-12Add cache_not_modified_filter, handle etag/last-modifiedewang
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`.
2024-04-05Fix typos and grammar issues in docsYuchen Wu
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]>
2024-04-05Allow response body to be modified.Yuchen Wu
2024-03-15compile and test cleanly with nightlyMatthew Gumport
The vast majority of these are redundant imports.
2024-02-27Release Pingora version 0.1.0v0.1.0Yuchen Wu
Co-authored-by: Andrew Hauck <[email protected]> Co-authored-by: Edward Wang <[email protected]>