Skip to content

Conversation

@tleedjarv
Copy link
Contributor

Fix a potential bug when clients of different versions (feature levels) connect to the same server process.

With the introduction of multi-version compatibility and the 'features'
mechanism, it is possible for a long-running server process to retain
"ghost" values to some preferences when clients with different features
connect. This happens when a preference value is set by a previous
client but not by the next client (due to it not supporting that
preference, for example). To fix this, simply reset the preferences
values on the server at every client connection.
@gdt
Copy link
Collaborator

gdt commented Oct 16, 2025

This is definitely a bug fix; the only potential about it is if it wil be triggered. Passes CI and makes sense on review, so I'm just hitting merge.

@gdt gdt merged commit 58d6d6b into bcpierce00:master Oct 16, 2025
30 checks passed
@tleedjarv tleedjarv deleted the reset-server-prefs branch October 16, 2025 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants