GUACAMOLE-2233: Make guacd client timeout configurable - #710
Open
mbayou-prolific wants to merge 1 commit into
Open
GUACAMOLE-2233: Make guacd client timeout configurable#710mbayou-prolific wants to merge 1 commit into
mbayou-prolific wants to merge 1 commit into
Conversation
mbayou-prolific
marked this pull request as ready for review
August 27, 2026 10:42
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.
Summary
Makes the timeout used while waiting for messages from connected Guacamole clients configurable while preserving the existing 15-second default.
The timeout can be configured through:
client_timeoutin the[server]section ofguacd.conf-T MILLISECONDSon theguacdcommand lineCLIENT_TIMEOUTwhen using the official guacd Docker imageThe configured value is applied both while waiting for the initial
selectinstruction and while handling messages from connected users. Invalid, zero, negative, and unsafe values are rejected.Motivation
GUACAMOLE-2233 documents Chrome and Edge delaying client keepalive messages beyond the hard-coded 15-second timeout when the browser is minimized or occluded. This can cause otherwise healthy sessions to be disconnected. Operators currently need to rebuild guacd to adjust the timeout.
Keeping the default unchanged avoids altering existing deployments, while exposing the timeout allows deployments affected by browser timer throttling or intermittent relays to select an appropriate grace period.
Testing
make -C src/guacd/tests check