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

DigestMiddleware: Move code to use IncrementalHash #577

Merged
merged 3 commits into from
Jul 24, 2024

Conversation

Beyley
Copy link
Member

@Beyley Beyley commented Jul 24, 2024

This reduces allocations, and increases performance.

This PR also adds more tests to our digest code.

@Beyley Beyley requested a review from jvyden July 24, 2024 02:41
@Beyley Beyley added the enhancement New feature or request label Jul 24, 2024
LBP3 gets mad with `/eula` if the server digest is incorrect, and since it doesn't send a client digest for that endpoint, we are unable to guess the correct digest for LBP3 clients.

Also fixes the server locking in the wrong digest on endpoints which expect a server digest, but dont send a client digest. Now it will only lock in the digest for requests which contain a client digest.
@jvyden jvyden merged commit 3c8eba8 into LittleBigRefresh:main Jul 24, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants