-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flatten Netty4 http pipeline handlers into a single handler (#86133)
This sets up the implementation of chunked REST response encoding that will be able to send large responses without serializing them in full on heap upfront. Having all the steps of sending a response in one place together with the pipelining logic allows adding another response type that serializes on the transport threads alongside `Netty4HttpResponse` in a follow-up that will only require changes to `Netty4PipeliningHandler`. Also, this change in isolation saves loads of indirection and now (that the NIO transport is gone) redundant abstractions, making the path of sending a REST response all around easier to follow.
- Loading branch information
1 parent
79a59f4
commit 337c044
Showing
13 changed files
with
232 additions
and
522 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
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
43 changes: 0 additions & 43 deletions
43
...ransport-netty4/src/main/java/org/elasticsearch/http/netty4/Netty4HttpRequestCreator.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.