Commit ebd944a2 authored by nanamicat's avatar nanamicat

log bad ack

parent f67e9868
...@@ -58,6 +58,8 @@ export class Router { ...@@ -58,6 +58,8 @@ export class Router {
} else if (this.seq == 0) { // 服务器重启或客户端下线 } else if (this.seq == 0) { // 服务器重启或客户端下线
this.time = Date.now(); this.time = Date.now();
this.send(socket, {}, {}); this.send(socket, {}, {});
} else {
console.log(`ignoring packet from ${data.id}, packet ack=${data.ack}, server seq=${this.seq}`);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment