mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-23 16:13:46 +00:00
Fix #1051
This commit is contained in:
+2
-1
@@ -1525,7 +1525,8 @@ accept_cb(EV_P_ ev_io *w, int revents)
|
||||
in_white_list = 1;
|
||||
}
|
||||
}
|
||||
if (!in_white_list && check_block_list(peer_name)) {
|
||||
if (!in_white_list && plugin == NULL
|
||||
&& check_block_list(peer_name)) {
|
||||
LOGE("block all requests from %s", peer_name);
|
||||
#ifdef __linux__
|
||||
set_linger(serverfd);
|
||||
|
||||
Reference in New Issue
Block a user