Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Includes-commit: 8727b2466f9a11aec6c5386c61c51ce54946b962
Replicated-from: https://github.com/cloudflare/pingora/pull/218
|
|
|
|
Allow generating custom responses to purge requests (requests to
invalidate or delete from the HTTP cache).
|
|
Includes-commit: 069a792c91c19b1ad01b2a151a74242aec901ce6
Replicated-from: https://github.com/cloudflare/pingora/pull/209
Signed-off-by: Benjamin Leggett <[email protected]>
|
|
|
|
This change allows customized HTTP1 reason phrase to be used and
proxied.
|
|
Includes-commit: 68a91966421910f47b4a3159619fb9c2cabdf240
Replicated-from: https://github.com/cloudflare/pingora/pull/214
|
|
Includes-commit: db64afd0a38e55f6684931cd2b00307df877510a
Replicated-from: https://github.com/cloudflare/pingora/pull/216
|
|
---
Refactor cleanup functions to use async/await
Includes-commit: 3cd52fee465e955e8ccfb98826cf4976ca284304
Includes-commit: 58946a8d586155875678eef163ad1a60882bc959
Replicated-from: https://github.com/cloudflare/pingora/pull/193
|
|
|
|
Includes-commit: 0026a572a7849c7a43f89629b36ce9d4cb287cb5
Replicated-from: https://github.com/cloudflare/pingora/pull/197
|
|
|
|
Define `group_id` in the pingora-core's server daemon on FreeBSD.
---
Merge branch 'cloudflare:main' into yonas-~~~
Co-authored-by: Yonas Yanfa <[email protected]>
Includes-commit: 30ee1e8bd4cad26d435029a3f33ae0f2e51e2e41
Includes-commit: df9f2da7bd5a3f0f21a59f199de97b564d0b6629
Replicated-from: https://github.com/cloudflare/pingora/pull/28
|
|
trailer filter
|
|
|
|
Includes-commit: ba75f36b3963a5cc6fb02f518c283baf58d43c4d
Replicated-from: https://github.com/cloudflare/pingora/pull/7
|
|
|
|
|
|
Add an API to retrieve request body bytes read so far.
|
|
The TinyLFU test was failing for changes unrelated to anything in the tinyufo
crate. This changes the test to stop that! What was occurring was expected
behavior, so the test is what's changing instead of any internal logic.
What was happening were hash collisions in the bloom filter used by the
estimator. Instead of asserting that we'd always start counting from 0, we now
allow for this in the test by `get()`ing first, then comparing relative
values. For the final comparisons, we check that values are greater-than or
equal-to their lower bound as determined by the number of `incr()`s we called on
their keys.
|
|
Includes-commit: 6d2613d254688435a9417440fa251467ea6115f8
Replicated-from: https://github.com/cloudflare/pingora/pull/130
Signed-off-by: Xiaobo Liu <[email protected]>
|
|
My editor was defaulting to using the 2015 edition of the parser since that's
the default for an unset edition in fmt file. This fixes that by specifying that
we want to use the same edition for formatting that we do everywhere else.
|
|
https://github.com/cloudflare/pingora/issues/181
Ran:
```
rg --pcre2 '(?<!(trace\!\()|(println\!\()|(warn\!\()|(info\!\()|(debug\!\()|(format\!\()|(error\!\()|(write\!\()|(panic\!\())\".*\{.+\"'
```
and audited the 200+ results by hand. Only messed up in a few places!
Hat-tip to Kevin for helping me understand the compile error messages I was
seeing trying to fix this naively.
|
|
|
|
---
Do not trim value
Includes-commit: 7431d244023f5841ce2ad1c9ced9199b21e48e81
Includes-commit: fdf61307a302cbe62b6f11193f6a65f341bcea37
Replicated-from: https://github.com/cloudflare/pingora/pull/177
|
|
https://github.com/cloudflare/pingora/issues/164
Includes-commit: af11b964e8392ab17b414674211a0b596499418d
Replicated-from: https://github.com/cloudflare/pingora/pull/174
Signed-off-by: JiajunDu <[email protected]>
|
|
Includes-commit: b83da0f03e870d6674718a8e86b637cda5295ad9
Replicated-from: https://github.com/cloudflare/pingora/pull/176
|
|
---
refactor: estimator::Estimator::reset
---
test: add test for Estimator::Reset
---
refactor: use iter in estimator
Includes-commit: 052d825fcc3757356e6d5aac3f27cab5803241f2
Includes-commit: 3f730eb4d7da9aa1371b5bfb3bc6f13ac0facf9c
Includes-commit: b2fec3cc512d5490c29a822d07dad063bb402d9f
Includes-commit: d1906805e82b2ef41e81abba5741fdb9e709a4f0
Replicated-from: https://github.com/cloudflare/pingora/pull/16
|
|
Includes-commit: 63f144be6649c70f9c0741f8ed3f87d9e7e3678c
Replicated-from: https://github.com/cloudflare/pingora/pull/116
|
|
debugging purposes
|
|
|
|
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`.
|
|
|
|
|
|
Also update a few comment links for the newest HTTP RFCs.
|
|
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]>
|
|
things are available on which features
|
|
|
|
|
|
constructor
---
Also expose the Version field
Includes-commit: acbc9e533b98b405e5ea7ef63fa83adc3ee94c76
Includes-commit: d8fb7dbe7558f32376b167e809932601c3bae40f
Replicated-from: https://github.com/cloudflare/pingora/pull/165
|
|
Replicated-from: https://github.com/cloudflare/pingora/pull/131
Includes-commit: ae706cdf49324f6f871b2bfd712f01f07b1dfed0
|
|
The `Fds` struct used in `ListenFds` in the `pingora::services::Service` trait
is not nameable. See https://rust-lang.github.io/rfcs/2145-type-privacy.html#~~~-voldemort-types-its-reachable-but-i-cant-name-it
This change makes both `ListenFds` and `Fds` public.
As a side-effect all of the methods on `Fds` are now public as well but are not documented.
Fixes: https://github.com/cloudflare/pingora/issues/145
Replicated-from: https://github.com/cloudflare/pingora/pull/146
Includes-commit: 6f835a357b448c35362cf2197a1160c72505d2dd
|
|
|
|
---
test: initialize ServerConf with added new fields
Replicated-from: https://github.com/cloudflare/pingora/pull/99
Includes-commit: f0dc59aeae3f66d50b6a46215abb9fa6424fffd5
Includes-commit: c37e63bdbea0938b05ebd365926982fbbce10ad1
|
|
|
|
|
|
when reading requests
|