mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-30 22:13:49 +00:00
remove the error log of incomplete udp packet
This commit is contained in:
+2
-2
@@ -653,7 +653,7 @@ static void remote_recv_cb(EV_P_ ev_io *w, int revents)
|
||||
#ifdef UDPRELAY_LOCAL
|
||||
buf = ss_decrypt_all(BUF_SIZE, buf, &buf_len, server_ctx->method, 0);
|
||||
if (buf == NULL) {
|
||||
LOGE("[udp] server_ss_decrypt_all");
|
||||
// drop the packet silently
|
||||
goto CLEAN_UP;
|
||||
}
|
||||
|
||||
@@ -835,7 +835,7 @@ static void server_recv_cb(EV_P_ ev_io *w, int revents)
|
||||
|
||||
buf = ss_decrypt_all(BUF_SIZE, buf, &buf_len, server_ctx->method, server_ctx->auth);
|
||||
if (buf == NULL) {
|
||||
LOGE("[udp] server_ss_decrypt_all");
|
||||
// drop the packet silently
|
||||
goto CLEAN_UP;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user