mirror of
https://github.com/NanjingForestryUniversity/supermachine-wood.git
synced 2025-11-08 18:23:54 +00:00
修复了重复设置next pack
This commit is contained in:
parent
706f8217d8
commit
7e9175c7fd
@ -87,7 +87,6 @@ def main(is_debug=False):
|
|||||||
if pack == b"":
|
if pack == b"":
|
||||||
status, connected_sock = try_connect()
|
status, connected_sock = try_connect()
|
||||||
continue
|
continue
|
||||||
connected_sock.set_prepack(next_pack)
|
|
||||||
|
|
||||||
cmd, data = parse_protocol(pack)
|
cmd, data = parse_protocol(pack)
|
||||||
ack_sock(connected_sock, cmd_type=cmd)
|
ack_sock(connected_sock, cmd_type=cmd)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user