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

Don't set the Age header in the cached object #4

Merged
merged 1 commit into from
Sep 22, 2019

Commits on Sep 2, 2019

  1. Don't set the Age header in the cached object

    Set it on the ResponseWriter directly. Otherwise we have a race
    condition where multiple requests might cause concurrent writes and
    reads to the headers of the cached object.
    erikdubbelboer committed Sep 2, 2019
    Configuration menu
    Copy the full SHA
    dc0b996 View commit details
    Browse the repository at this point in the history