-
Notifications
You must be signed in to change notification settings - Fork 990
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UNDERTOW-2017: HttpRequestConduit state is correctly maintained
Previously, small buffers that required multiple events to write would not save the correct header state, resulting in NPEs and requests which failed to include all headers. This PR removes the duplicated state between the method body and HttpRequestConduit in favor of exclusively using HttpRequestConduit fields. This way the behavior across state changes is unlikely to be impacted at all. Hotspot isn't able to optimize field access quite as well as local method scoped variables, however this isn't likely to have an impact in practice, and it's more important to send all headers with every request.
- Loading branch information
1 parent
b24d455
commit 3491181
Showing
1 changed file
with
0 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters