Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional backwards compatibility with older clients #195

Merged
merged 2 commits into from
Sep 2, 2024

Conversation

dpogue
Copy link
Member

@dpogue dpogue commented Aug 11, 2024

Currently, OU clients don't handle the Auth2Cli_ServerCaps message, and that results in the network stream getting into a bad state where the client throws an error and gives us.

This compatibility hack from dgelessus is interpreted as a ServerCaps response by newer clients that understand that message, and as a harmless file download response by older clients which don't.

AuthServ/AuthServer.cpp Outdated Show resolved Hide resolved
@dpogue dpogue marked this pull request as ready for review August 11, 2024 18:39
@dgelessus
Copy link
Contributor

Copy link
Contributor

@dgelessus dgelessus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for making a proper PR out of this patch!

AuthServ/AuthServer.cpp Outdated Show resolved Hide resolved
AuthServ/AuthServer.cpp Outdated Show resolved Hide resolved
dpogue and others added 2 commits August 11, 2024 17:08
The older client seems to want this for reasons that I don't fully care
to investigate at the moment. It should be grabbing it from the
GateKeeper, shouldn't it?
@dpogue
Copy link
Member Author

dpogue commented Aug 26, 2024

Is there anything remaining to do here before this can be merged?

@zrax zrax merged commit cea730a into H-uru:master Sep 2, 2024
4 checks passed
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.

4 participants