|
@@ -69,10 +69,10 @@ public class PublicListener extends GameServerConnectionListener {
|
|
|
|
|
|
// 从对象池获取 WSRequest 实例
|
|
|
request = WSRequestPool.getRequest(bytes);
|
|
|
- if (!RequestFilter.isAllowed(conn, request.getCmd())) {
|
|
|
- Log.warn("请求过于频繁,已被过滤: cmd={}, player={}", request.getCmd(), conn.getPlayerId());
|
|
|
- return;
|
|
|
- }
|
|
|
+// if (!RequestFilter.isAllowed(conn, request.getCmd())) {
|
|
|
+// Log.warn("请求过于频繁,已被过滤: cmd={}, player={}", request.getCmd(), conn.getPlayerId());
|
|
|
+// return;
|
|
|
+// }
|
|
|
|
|
|
// 获取处理器
|
|
|
NetHandler handler = GGame.handlers.get(request.getCmd());
|