mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-05 23:04:51 +00:00
Revert to triggering a reconnection when skipping invalid packets
This commit is contained in:
parent
b23e34494e
commit
ce8c242eb4
1 changed files with 1 additions and 0 deletions
|
|
@ -190,6 +190,7 @@ class Session:
|
||||||
)
|
)
|
||||||
except SecurityCheckMismatch as e:
|
except SecurityCheckMismatch as e:
|
||||||
log.info(f"Discarding packet: {e}")
|
log.info(f"Discarding packet: {e}")
|
||||||
|
await self.connection.close()
|
||||||
return
|
return
|
||||||
|
|
||||||
messages = (
|
messages = (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue