feat: support unix socket tunnel (for ios) (#1779)

Co-authored-by: Page Chen <pagechen04@gmail.com>
This commit is contained in:
Chenx DustandPage Chen authored and GitHub committed 2026-01-11 16:37:32 +08:00
1 parent 48c5c23f9b
commit b590700540
4 files changed
+231

No files matched your search

+5
View File
@@ -50,6 +50,11 @@ pub fn get_listener_by_url(
Box::new(WSTunnelListener::new(l.clone()))
}
"faketcp" => Box::new(FakeTcpTunnelListener::new(l.clone())),
#[cfg(unix)]
"unix" => {
use crate::tunnel::unix::UnixSocketTunnelListener;
Box::new(UnixSocketTunnelListener::new(l.clone()))
}
_ => {
return Err(Error::InvalidUrl(l.to_string()));
}