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

Stop using real headers for side channels #1367

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

jonjohnsonjr
Copy link
Contributor

I thought it was clever to use If-None-Match because it was pretty close to what I wanted, but the way we're wrapping transports means that this actually breaks if the Etag matches. Whoops!

Just change this to an invalid header so that this stops breaking, we can fix it better later by making the cache not look like a transport.

I thought it was clever to use If-None-Match because it was pretty close
to what I wanted, but the way we're wrapping transports means that this
actually breaks if the Etag matches. Whoops!

Just change this to an invalid header so that this stops breaking, we
can fix it better later by making the cache not look like a transport.

Signed-off-by: Jon Johnson <[email protected]>
@luhring luhring merged commit f60d40e into chainguard-dev:main Oct 24, 2024
24 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.

2 participants