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

UNDERTOW-2194 - improve cookie parsing so its aligned with spec without 3rd part deps. #1428

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

baranowb
Copy link
Contributor

@fl4via fl4via added the new feature/API change New feature to be introduced or a change to the API (non suitable to minor releases) label Feb 2, 2023
@baranowb baranowb requested a review from ropalka July 29, 2024 10:32
storage.clear();
}

private class DefaultIterator<V> implements Iterator<V> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DefaultIterator should have ideally both "static final" classifiers. With "static" classifier DefaultIterator class could be shared among all MultiValueHashListStorage object instances. Without "static" classifier new DefaultIterator class is created per MultiValueHashListStorage instances. This change will result in improvements to shared memory AKA "method area" .

core/src/main/java/io/undertow/util/Cookies.java Outdated Show resolved Hide resolved
core/src/main/java/io/undertow/util/Cookies.java Outdated Show resolved Hide resolved
@baranowb baranowb force-pushed the UNDERTOW-2194_sac branch from 82ecab8 to 6249710 Compare August 6, 2024 08:36
@baranowb baranowb added the under verification Currently being verified (running tests, reviewing) before posting a review to contributor label Aug 8, 2024
@baranowb
Copy link
Contributor Author

baranowb commented Aug 8, 2024

Ive set "under veirfication" in light of crossreviewing with another RFE. Details in doc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature/API change New feature to be introduced or a change to the API (non suitable to minor releases) under verification Currently being verified (running tests, reviewing) before posting a review to contributor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants