Module replay
quic and std and ua only.Expand description
Compile a selected QUIC tuple into ordinary native configuration extensions.
The outer UA connect modifier selects and admits a complete connection tuple,
then this compiler supplies TlsClientConfig and QuicProfile extensions.
The native connector consumes those settings exactly as it would settings from
a custom layer or relay. It owns the endpoint, configuration cache, peer-bound
TLS session and connection I/O; it never receives a counted profile.
Supply the same fixed policy and provider to the compiler and native connector. Current request overrides retain their ordinary precedence. The common UA modifier applies admitted HTTP settings before connecting and publishes profile facts only after its inner connector succeeds. Its context check is at that boundary; this compiler introduces no native callback or generated-hello check.
The ticket namespace combines the stable profile identity with the caller’s scope, independently of each connection draw. A private UA marker shares the installed and original scope values so a repeated preparation cannot wrap the namespace again. It holds no native session, provider or TLS configuration.
Capability admission covers only the native subset actually compiled here. In particular, HTTP/3 startup/QPACK sequences need their own implementation; a decoded capture alone does not grant replay support.
Structs§
- Compiled
Connection - Admitted settings moved into the request before the native connector runs.
- Connection
Profile Compiler - Register with the outer UA connect modifier around a native QUIC connector.