mirror of
https://github.com/cfal/shoes.git
synced 2026-11-06 08:14:11 +00:00
Add standard HTTP/2 CONNECT to HTTP and mixed listeners and opt-in HTTP proxy clients, allowing concurrent TCP tunnels to share a connection while preserving legacy HTTP/1 and NaiveProxy behavior. Keep the H2 transport independent of NaiveProxy, preserve route isolation and per-stream authentication, require matching TLS ALPN for explicit H2 clients, and handle flow control, cancellation, and graceful shutdown. Include configuration documentation, an example, compatibility regressions, and interoperability coverage for sing-box, Mihomo, and the native Caddy-based Naive server.
18 lines
409 B
Rust
18 lines
409 B
Rust
#[path = "cases/http_proxy_support.rs"]
|
|
mod http_proxy_support;
|
|
|
|
#[path = "cases/optional_peer/anytls_uot_mihomo.rs"]
|
|
mod anytls_uot_mihomo;
|
|
|
|
#[path = "cases/optional_peer/snell_mihomo.rs"]
|
|
mod snell_mihomo;
|
|
|
|
#[path = "cases/optional_peer/tls_hybrid.rs"]
|
|
mod tls_hybrid;
|
|
|
|
#[path = "cases/optional_peer/http2_proxy.rs"]
|
|
mod http2_proxy;
|
|
|
|
#[path = "cases/optional_peer/naive_transport.rs"]
|
|
mod naive_transport;
|