Commit Graph
2 Commits
Author SHA1 Message Date
Tad Hunt 2866d9c015 remove extra debug info from log message 2022-09-23 11:15:24 -06:00
Tad Hunt d29279285e This commit fixes https://github.com/LOOHP/Limbo/issues/51
"Incorrect Payload Received in KeepAlive packet for player"

The problem is that in my setup (described in the issue linked above)
the loohp-limbo server is receiving an unsolicited PacketInKeepAlive
message prior to sending any out.  This causes the payload validation
check to fail, resulting in the connection then being closed.

This commit changes the PacketInKeepAlive handler to ignore (other than
logging) unsolicited KeepAlive messages rather than act on them.

Possibly the logging is a bad idea unless it's limited to being
suppressed via a debug flag...
2022-09-22 22:54:50 -06:00