mirror of
https://github.com/rwf2/Rocket.git
synced 2025-01-08 10:42:37 +00:00
7cc818cd85
This commit introduces the ability to dynamically select a TLS configuration based on the client's TLS hello via the new `Resolver` trait. In support of this, it also makes the following changes: * Added `Authority::set_port()`. * `UdsListener` is now `UnixListener`. * `Bindable` removed in favor of new `Bind`. * All built-in listeners now implement `Bind<&Rocket>`. * `Connection` requires `AsyncRead + AsyncWrite`. * The `Debug` impl for `Endpoint` displays the underlying address. * `Listener` must be `Sized`. * The TLS listener was moved to `tls::TlsListener`. * The preview `quic` listener no longer implements `Listener`. * Added `TlsConfig::server_config()`. * Added `race` future helpers. * Added `Rocket::launch_with()`, `Rocket::bind_launch()`. * Added a default `client.pem` to the TLS example. * Various unnecessary listener `Config` structures removed. In addition, the testbench was revamped to support more scenarios. This resulted in the following issues being found and fixed: * Fix an issue where the logger would ignore color requests. * Clarified docs for `mtls::Certificate` guard. * Improved error messages on listener misconfiguration. Resolves #2730. Resolves #2363. Closes #2748. Closes #2683. Closes #2577. |
||
---|---|---|
.. | ||
static | ||
absolute-uris-okay-issue-443.rs | ||
adhoc-uri-normalizer.rs | ||
byte-slices-form-field-issue-2148.rs | ||
can-correct-bad-local-uri.rs | ||
can-launch-tls.rs | ||
catcher-cookies-1213.rs | ||
conditionally-set-server-header-996.rs | ||
config-proxy-proto-header.rs | ||
config-real-ip-header.rs | ||
config-secret-key-1500.rs | ||
content-length.rs | ||
cookies-private.rs | ||
derive-reexports.rs | ||
deserialize-limits-issue-2268.rs | ||
encoded-uris.rs | ||
fairing_before_head_strip-issue-546.rs | ||
file_server.rs | ||
flash-lazy-removes-issue-466.rs | ||
form_method-issue-45.rs | ||
form_value_decoding-issue-82.rs | ||
form_value_from_encoded_str-issue-1425.rs | ||
form-validation-names.rs | ||
forward-includes-status-1560.rs | ||
head_handling.rs | ||
http_serde.rs | ||
launch-inspect.rs | ||
limits.rs | ||
local_request_private_cookie-issue-368.rs | ||
local-client-access-runtime-in-drop.rs | ||
local-client-json.rs | ||
local-request-content-type-issue-505.rs | ||
many-cookie-jars-at-once.rs | ||
mapped-base-issue-1262.rs | ||
mount_point.rs | ||
multipart-limit.rs | ||
nested-fairing-attaches.rs | ||
on_launch_fairing_can_inspect_port.rs | ||
panic-handling.rs | ||
precise-content-type-matching.rs | ||
raw-strings-multipart-files-1987.rs | ||
recursive-singleton-fairing.rs | ||
redirect_from_catcher-issue-113.rs | ||
replace-content-type-518.rs | ||
responder_lifetime-issue-345.rs | ||
route_guard.rs | ||
scoped-uri.rs | ||
segments-issues-41-86.rs | ||
sentinel.rs | ||
session-cookies-issue-1506.rs | ||
shield.rs | ||
shutdown-fairings.rs | ||
strict_and_lenient_forms.rs | ||
timer-on-attach.rs | ||
tls-config-from-source-1503.rs | ||
twice_managed_state.rs | ||
typed-uri-docs-redef-issue-1373.rs | ||
unsound-local-request-1312.rs | ||
untracked-vs-tracked.rs | ||
uri-percent-encoding-issue-808.rs |