mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-08 10:27:46 +08:00
Retry pre-response transport failures across candidates with an explicit stop policy, and propagate end-to-end timing into usage records and UI diagnostics. Remove legacy body, import, cookie, PII, and tunnel replay caps while preserving optional operator-configured gateway limits.
24 lines
853 B
Rust
24 lines
853 B
Rust
//! Shared tunnel request-lifecycle contracts.
|
|
//!
|
|
//! The executable tunnel agent and the embedded gateway tunnel both depend on
|
|
//! this crate. Network runtimes, persistence, and HTTP handlers remain in
|
|
//! their respective adapter crates.
|
|
|
|
pub mod admission;
|
|
pub mod embedded;
|
|
pub mod hub;
|
|
pub mod protocol;
|
|
pub mod relay;
|
|
|
|
pub use admission::{TunnelAdmissionClass, TunnelAdmissionPolicy, TunnelAdmissionRequest};
|
|
pub use embedded::EmbeddedTunnelDefaults;
|
|
pub use hub::{
|
|
resolve_proxy_max_streams, resolve_proxy_node_name, resolve_proxy_protocol_version,
|
|
MAX_TUNNEL_STREAMS,
|
|
};
|
|
pub use relay::{
|
|
is_tunnel_heartbeat_path, is_tunnel_node_status_path, TunnelAttachmentRecord,
|
|
DEFAULT_TUNNEL_PROBE_BODY_LIMIT_BYTES, PROXY_TUNNEL_PATH, TUNNEL_HEARTBEAT_PATH,
|
|
TUNNEL_NODE_STATUS_PATH, TUNNEL_RELAY_PATH_PATTERN, TUNNEL_ROUTE_FAMILY,
|
|
};
|