mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-02-09 01:59:16 +08:00
use new io timeout branch
This commit is contained in:
@@ -64,4 +64,4 @@ libc = "^0.2.7"
|
||||
|
||||
[dependencies.coio]
|
||||
git = "https://github.com/zonyitoo/coio-rs.git"
|
||||
branch = "feature-timeout"
|
||||
branch = "io-timeouts"
|
||||
|
||||
@@ -335,7 +335,7 @@ impl TcpRelayLocal {
|
||||
let mut cached_proxy: BTreeMap<String, SocketAddr> = BTreeMap::new();
|
||||
|
||||
for s in acceptor.incoming() {
|
||||
let mut stream = match s {
|
||||
let stream = match s {
|
||||
Ok((s, addr)) => {
|
||||
debug!("Got connection from client {:?}", addr);
|
||||
s
|
||||
|
||||
Reference in New Issue
Block a user