- SRV-04: TokioTimer on h1+h2 builder, header_read_timeout 10s, h1 keep-alive on, h2 keep-alive 30s/10s; concurrency boundary documented - SRV-05: with_decoy rebuild keeps extra routes (clone, not take) - SRV-07: method_not_allowed_fallback serves the nginx-shaped 405 - SRV-08: UTF-8 percent-decoding, literal '+', tokio::fs syscalls - SRV-09: /openapi.json cached at construction, generic 500 body, to_openapi returns Result (expect removed) - SRV-10: ChannelsPolicy extension injection point on the WS upgrade; single token resolution via route ordering (WS layer before the router-wide auth route_layer) Verification: cargo test 265 passed; --all-features server::/to_openapi:: green; clippy + fmt clean on touched files (remaining tree noise is a parallel agent's in-flight from_mcp/from_wss/forward work)
12 lines
377 B
Rust
12 lines
377 B
Rust
//! alkhttp: HTTP interface for the alk stack — serves HTTP/1.1 + HTTP/2 on
|
|
//! standard ALPNs (with WebSocket upgrade carrying the channels protocol)
|
|
//! and hosts the HTTP-backed call-protocol adapters.
|
|
|
|
pub mod adapters;
|
|
pub mod client;
|
|
pub mod gateway;
|
|
pub mod server;
|
|
pub mod websocket;
|
|
|
|
pub use server::{decoy_fallback, decoy_method_not_allowed, healthz, DecoyConfig};
|