mirror of https://github.com/ospab/ostp.git
fix: UoT server logs warn level, fix duplicate mux config, fix i686 CI with cross
This commit is contained in:
parent
3685ecac5c
commit
cc3b0b689d
|
|
@ -70,6 +70,7 @@ jobs:
|
||||||
artifact_name: ostp
|
artifact_name: ostp
|
||||||
release_name: ostp-linux-386.tar.gz
|
release_name: ostp-linux-386.tar.gz
|
||||||
tun2socks_arch: linux-386
|
tun2socks_arch: linux-386
|
||||||
|
use_cross: true
|
||||||
|
|
||||||
# ── Linux cross ───────────────────────────────────────────────────
|
# ── Linux cross ───────────────────────────────────────────────────
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
|
|
|
||||||
|
|
@ -285,7 +285,7 @@ async fn run_server_loop(
|
||||||
let tx = udp_tx_clone.clone();
|
let tx = udp_tx_clone.clone();
|
||||||
tokio::spawn(async move {
|
tokio::spawn(async move {
|
||||||
if let Err(e) = crate::transport::uot::handle_tcp_connection(stream, peer_addr, keys, tx, tm).await {
|
if let Err(e) = crate::transport::uot::handle_tcp_connection(stream, peer_addr, keys, tx, tm).await {
|
||||||
tracing::debug!("UoT connection from {} failed: {}", peer_addr, e);
|
tracing::warn!("UoT connection from {} closed: {}", peer_addr, e);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue