Age | Commit message (Collapse) | Author |
|
|
|
|
|
Also remove the doc_async_trait cfg since it is no longer viable.
|
|
|
|
|
|
Sometimes service dicovery can carry arbitrary information, such as
SNI and request path to instrument how to connect to backend servers.
Backend now support to carry this type of information.
|
|
building selector
|
|
This allows user defined L4 connect() to be used so that they can
customize the connect behavior such as changing socket options and
simulating errors in tests.
|
|
This PR updates the function signatures in the `ext.rs` file to use `*mut` instead of `*const` for the `ssl` and `cert` parameters in the `SSL_use_certificate` and `SSL_use_PrivateKey` functions. This indicates that the functions can modify the SSL and certificate objects as intended.
Ref:
- https://www.openssl.org/docs/man1.1.1/man3/SSL_use_certificate.html
https://boringssl.googlesource.com/boringssl/+/refs/tags/~~~/ssl/ssl_cert.cc#292
Refactor the `cvt` function to use `c_long` instead of `c_int` for the return type for better compatibility with the types used in the OpenSSL library.
Also, add a test case for the `ssl_set_groups_list` function to ensure it handles valid and invalid input correctly.
---
chore(openssl):fix increase X509 reference count
Includes-commit: 7841271b4af8d3db800d9c5d7d38a4dd33d32407
Includes-commit: e13243188916617ebb80045895e3582b883126ec
Replicated-from: https://github.com/cloudflare/pingora/pull/308
|
|
Includes-commit: 3faed99e264cda6ba3986912d06c6e67bf5df13b
Replicated-from: https://github.com/cloudflare/pingora/pull/312
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Avoid false positive since 0.0.0.0 in some systems is mapped
to other IPs.
|
|
|
|
|
|
The display format contains more useful info.
|
|
|
|
Although it is implied that fail_to_connect() errors are already caused
by upstream connections, it is more clear for the user's code inside this callback
by marking the error source in this case.
|
|
|
|
When we see a GOAWAY(NO_ERROR), the connector no longer fail the entire request.
Now the connector creates a new connection instead.
|
|
I started fidgeting with another one of the tests breaking because of the
estimator not being deterministic, and then decided to do this another way.
This adds `seeded` and `seeded_compact` constructors to the estimator which are
used in tests to override the LFU. These are hidden behind `cfg(test)`. The
`random_status` field of the UFO object is also overridden with the same seeds
as used for the seeded LFU.
These make the tests pass consistently without requiring further monkeying.
|
|
Currently the allowed max is hardcoded, the HeaderSerde should match the
H1 max count to avoid problems deserializing from cache.
|
|
quickstart with no external dependencies
|
|
---
Empty commit to trigger checks again
---
Another empty commit to trigger checks
Includes-commit: 0e9d853e05c1ea59bfaceac48a2769d523f0e818
Includes-commit: 1237b26493d0f9980441551be83cac62d7dc1cb8
Includes-commit: 6fdaf38b6359a17ba739097b6dff4250c6393ba5
Replicated-from: https://github.com/cloudflare/pingora/pull/272
|
|
|
|
Includes-commit: 5dd90aadd29b63564433ad8caccff7f4ab10eb5b
Replicated-from: https://github.com/cloudflare/pingora/pull/271
|
|
Now UDS can be parsed from string with prefix "unix:". The raw path
support will be deprecated.
From https://github.com/cloudflare/pingora/pull/141
Co-authored-by: blackanger <[email protected]>
|
|
So that users can override this behavior.
|
|
startup
Includes-commit: 1bf3d4dfea191cdcefd37dc42fa5c269fc29ff64
Replicated-from: https://github.com/cloudflare/pingora/pull/284
|
|
Easier for 3rd party to implement the trait.
|
|
This helps the storage to log/track different type of cache deletions.
|
|
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.
|
|
|
|
|
|
|
|
Adds nightly to the toolchain list and short-circuits steps where nightly will
have extra warnings.
Also update 1.78->1.79 to track new stable release.
|
|
Includes-commit: d9a37a1f38e8369d1b1eae28d67624d7e54e8738
Replicated-from: https://github.com/cloudflare/pingora/pull/273
|
|
Fixes https://github.com/cloudflare/pingora/issues/228
This adds a function to set the compression level per supported algorithm. The
behavior of `adjust_level` is changed to set the level for all of the algorithms
such that it still behaves the same.
|
|
Fixes #279. This allows falling back to the system default on None, or
explicitly setting false if the system default happens to be true.
|
|
Previously the test would fail because the item evicted may be the entry (4,4,1)
failing admission. I adjusted the weights so that all weights for items besides
the one we want moved to the main cache are equal and the cache can only hold
three. The test then checks that 1 is moved to the main, the evicted key is
gone, and the other two are present.
|
|
|
|
|
|
Includes-commit: bbef4bdd755c9033ab22d583ff922553b0fd603c
Replicated-from: https://github.com/cloudflare/pingora/pull/274
|
|
|
|
This avoids human error with stronger validation.
|
|
This cab be used for tracing to match the sockets in the kernel.
|