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

fix(setCookie): properly merge and dedup set-cookie header #981

Merged
merged 4 commits into from
Feb 22, 2025
Merged

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Feb 22, 2025

resolves #705 for h3 v1 (backporting #830)

Unique key generation was not restoring maxAge as the cookie parser was not restoring options (maxAge).
Using new parseSetCookie from cookie-es 1.2 we can properly merge

This PR also drops dependency on ohash v1

@pi0 pi0 changed the title fix(setCookie): properly merge unique set-cookie values fix(setCookie): properly merge unique set-cookie values Feb 22, 2025
@pi0 pi0 changed the title fix(setCookie): properly merge unique set-cookie values fix(setCookie): properly merge and dedup set-cookie header Feb 22, 2025
@pi0 pi0 merged commit d1c00fc into v1 Feb 22, 2025
3 checks passed
@pi0 pi0 deleted the fix/cookie-merge branch February 22, 2025 11:15
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.

1 participant