beyond-all-reason / BYAR-Chobby

55 stars 64 forks source link

Buffer is not cleaned up on disconnect nor on establishing new connection #611

Open AntlerForce opened 3 months ago

AntlerForce commented 3 months ago

Screenshot_20240315_164106 spring-launcher-20231104T212641.log

"It looks like this IP is opening connection, getting the lobby server TASSERVER 0.38-33-ga5f3b28 * 8201 0 stuff, waiting for a few seconds, dropping connection, and doing like this in the loop"

https://github.com/beyond-all-reason/BYAR-Chobby/blob/3f044810841a32ac767e3306a125483e78fbe2b9/libs/liblobby/lobby/interface_shared.lua#L309

"This is bug in Chobby. Buffer is not cleaned up on disconnect nor on establishing new connection. So there can be garbage in it from previously closed connection."

Screenshot_20240323_125709