Add hard timeout for Workshop download popup#59
Open
Staaar0 wants to merge 4 commits intoSource2ZE:mainfrom
Open
Add hard timeout for Workshop download popup#59Staaar0 wants to merge 4 commits intoSource2ZE:mainfrom
Staaar0 wants to merge 4 commits intoSource2ZE:mainfrom
Conversation
Added a hard timeout for client addon download popups to disconnect clients if they do not accept the required addons in time.
Added a new configuration option for client timeout during Workshop downloads.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
added a simple hard timeout for clients stuck on the CS2 Workshop addon download popup.
Issue: when a player connects and leaves the Workshop download popup open without pressing Download or Cancel,
the server keeps sending
S2C_CONNECTIONfor the required addon and the player can hold a server slot without fully joining.Fix: added
mm_addons_hard_timeout, which drops the pending client after the configured number of seconds. Setting it to 0 disables the feature.mm_addons_hard_timeout <seconds> (default 30)How long a client may sit on the Workshop download popup before being dropped; 0 disablesThis helps free slots from clients who ignore or miss the download popup, while keeping the existing MAM addon flow unchanged.