mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-28 03:33:42 +00:00
No need to report addr in non-stream mode
This commit is contained in:
@@ -872,10 +872,6 @@ server_timeout_cb(EV_P_ ev_timer *watcher, int revents)
|
||||
LOGI("TCP connection timeout");
|
||||
}
|
||||
|
||||
if (server->stage < STAGE_STREAM) {
|
||||
report_addr(server->fd, SUSPICIOUS);
|
||||
}
|
||||
|
||||
close_and_free_remote(EV_A_ remote);
|
||||
close_and_free_server(EV_A_ server);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user