patch server doesnt empty it's list of patches #94

Open
opened 2 years ago by andy · 1 comments
andy commented 2 years ago
Collaborator

when a client connects to the patch server and sends FileInfoReply (client telling the server it's info about the patch file(s) sent by the patch server), the patch server is collecting this list and not emptying it.

http://git.sharnoth.com/jake/elseware/src/branch/master/src/patch/patch.rs#L186

eventually Something Bad will happen to the patch server since the PatchServerState.patch_file_info vec is increasing infinitely, and maybe logins will become increasingly delayed since the patch server is validating more and more files as each client connects.

when a client connects to the patch server and sends `FileInfoReply` (client telling the server it's info about the patch file(s) sent by the patch server), the patch server is collecting this list and not emptying it. http://git.sharnoth.com/jake/elseware/src/branch/master/src/patch/patch.rs#L186 eventually Something Bad will happen to the patch server since the `PatchServerState.patch_file_info` vec is increasing infinitely, and maybe logins will become increasingly delayed since the patch server is validating more and more files as each client connects.
andy added the
release
label 2 years ago
Owner

HAHA OOPS

HAHA OOPS
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.