Skip to content

Fix HTTP cache checksum mismatch for resources#4886

Open
Zephkek wants to merge 1 commit intomultitheftauto:masterfrom
Zephkek:fix-http-cache-file-mismatch
Open

Fix HTTP cache checksum mismatch for resources#4886
Zephkek wants to merge 1 commit intomultitheftauto:masterfrom
Zephkek:fix-http-cache-file-mismatch

Conversation

@Zephkek
Copy link
Copy Markdown
Contributor

@Zephkek Zephkek commented May 4, 2026

Summary

Fix HTTP resource file mismatches when large client files are updated.

Motivation

Resolves #4161. The server could advertise a checksum from the source file, then serve different bytes because the HTTP cache was copied in a separate pass. Large files made that race much easier to hit.

Test plan

  • Verify stale HTTP cache files are now copied to a temp file, checksummed from the copied bytes, then published after validation.

Checklist

  • Your code should follow the coding guidelines.
  • Smaller pull requests are easier to review. If your pull request is beefy, your pull request should be reviewable commit-by-commit.

@Zephkek Zephkek force-pushed the fix-http-cache-file-mismatch branch from bc5bdaf to 90a1d18 Compare May 4, 2026 09:56
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.

#1013 HTTP server file mismatch

1 participant