mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-27 03:03:43 +00:00
Fix #841
This commit is contained in:
+1
-1
@@ -922,7 +922,7 @@ new_remote(int fd, int timeout)
|
||||
ev_timer_init(&remote->send_ctx->watcher, remote_timeout_cb,
|
||||
min(MAX_CONNECT_TIMEOUT, timeout), 0);
|
||||
ev_timer_init(&remote->recv_ctx->watcher, remote_timeout_cb,
|
||||
min(MAX_CONNECT_TIMEOUT, timeout), timeout);
|
||||
timeout, timeout);
|
||||
|
||||
balloc(remote->buf, BUF_SIZE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user