-
Notifications
You must be signed in to change notification settings - Fork 1k
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
base: main
Are you sure you want to change the base?
Conversation
34a843d
to
4815694
Compare
4815694
to
82ecab8
Compare
core/src/main/java/io/undertow/server/MultiValueHashListStorage.java
Outdated
Show resolved
Hide resolved
core/src/main/java/io/undertow/server/MultiValueHashListStorage.java
Outdated
Show resolved
Hide resolved
core/src/main/java/io/undertow/server/MultiValueHashListStorage.java
Outdated
Show resolved
Hide resolved
core/src/main/java/io/undertow/server/MultiValueHashListStorage.java
Outdated
Show resolved
Hide resolved
storage.clear(); | ||
} | ||
|
||
private class DefaultIterator<V> implements Iterator<V> { |
There was a problem hiding this comment.
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" .
82ecab8
to
6249710
Compare
Ive set "under veirfication" in light of crossreviewing with another RFE. Details in doc. |
Issue: https://issues.redhat.com/browse/UNDERTOW-2194
This will replace: #1408