mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-08 10:27:46 +08:00
feat(gateway): 流式执行支持 local tunnel 传输并改进 SSE 错误通知
- 流式执行优先尝试 local tunnel 路径,不可用时降级到直连 - stream_pump 适配 Reqwest 和 LocalTunnel 双响应类型 - SSE passthrough 流中断时向下游发送 aether.error 终端事件 - 提取 frame 编码辅助函数消除重复代码 - 新增本地隧道流式场景的集成测试
This commit is contained in:
@@ -24,6 +24,7 @@ use crate::data::GatewayDataState;
|
||||
pub use control_plane::ControlPlaneClient;
|
||||
pub use hub::{ConnConfig, HubRouter, LocalBodyEvent, ProxyConn};
|
||||
pub use local_relay::relay_request;
|
||||
pub(crate) use local_relay::{open_direct_relay_stream, DirectRelayResponse};
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct AppState {
|
||||
|
||||
Reference in New Issue
Block a user