-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
Introduce Netty 4 #19526
Introduce Netty 4 #19526
Commits on Jul 23, 2016
-
This commit adds transport-netty4, a transport and HTTP implementation based on Netty 4.
Configuration menu - View commit details
-
Copy full SHA for 46cef63 - Browse repository at this point
Copy the full SHA 46cef63View commit details -
Remove use of deprecated field in Netty4CorsConfig
This commit removes the use of the deprecated field HttpHeaders.EMPTY_HEADERS in favor of EmptyHttpHeaders.INSTANCE.
Configuration menu - View commit details
-
Copy full SHA for dd88f56 - Browse repository at this point
Copy the full SHA dd88f56View commit details -
Cleaner exception unwrapping on transport layer
Today when an exception occurs on the transport layer, an exception bubbles up where it is caught in the Netty layer and wrapped in Netty-specific exceptions. These exceptions must be unwrapped to be pushed back down to the transport layer for handling. This commit cleans up this unwrapping in the Netty 4 module.
Configuration menu - View commit details
-
Copy full SHA for cee2a90 - Browse repository at this point
Copy the full SHA cee2a90View commit details -
Update Netty 4 SHAs to latest snapshots
This commit updates the SHAs for the Netty 4 dependencies to the SHAs for the 20160721-*-6 snapshots.
Configuration menu - View commit details
-
Copy full SHA for 2aa6763 - Browse repository at this point
Copy the full SHA 2aa6763View commit details -
Cleanup TransportServiceAdapter#received/sent
This commit renames the TransportServiceAdapter#received and TransportServiceAdapter#sent interface methods for clarity, and clarifies the usage in Netty4MessageChannelHandler.
Configuration menu - View commit details
-
Copy full SHA for 621161b - Browse repository at this point
Copy the full SHA 621161bView commit details -
This commit improves the handling of resources in the Netty 4 networking implementation.
Configuration menu - View commit details
-
Copy full SHA for e57f1cd - Browse repository at this point
Copy the full SHA e57f1cdView commit details -
Simplify close condition in Netty 4 HTTP channel
To determine if we want to close a connection on completion of a request, we need compare the value of the connection header to the string "keep-alive" when the connection is an HTTP 1.0 connection. However, the conditional under question here uses the unary not operator which can sometimes be tricky to see, especially in long expressions. This commit replaces the uses of the unary not operator with comparison to false.
Configuration menu - View commit details
-
Copy full SHA for fc320bc - Browse repository at this point
Copy the full SHA fc320bcView commit details -
Move initializer for Netty 4 HTTP request params
Today we initialize the params field for an instance of Netty4HttpRequest in its constructor. It might be simpler to just initialize the field directly, so that's what we do in this commit.
Configuration menu - View commit details
-
Copy full SHA for 184083c - Browse repository at this point
Copy the full SHA 184083cView commit details -
The base REST request implementation RestRequest defines some abstract methods that are just duplicated across the implementations of the inheriting classes. This commit moves these duplicated impelementations to the base class for simplification.
Configuration menu - View commit details
-
Copy full SHA for 77254b2 - Browse repository at this point
Copy the full SHA 77254b2View commit details -
Default transport client to Netty 3
This commit marks Netty 3 as the default transport client networking implementation, for now.
Configuration menu - View commit details
-
Copy full SHA for ed8355d - Browse repository at this point
Copy the full SHA ed8355dView commit details -
Clarifying exception swallowing in TCP decode
On the transport layer when decoding the header, we catch and silently swallow and IllegalStateException. This is because this state naturally arises when we have fully consumed the incoming byte buffer. This commit adds a comment explaining this situation.
Configuration menu - View commit details
-
Copy full SHA for 816018c - Browse repository at this point
Copy the full SHA 816018cView commit details -
Fix BytesRestResponseTests test case
This commit fixes a broken test case in BytesRestResponseTests that was broken by an earlier refactoring.
Configuration menu - View commit details
-
Copy full SHA for c4c9c87 - Browse repository at this point
Copy the full SHA c4c9c87View commit details -
This commit addresses a resource leak in the Netty 4 module that arises when the content of a request is held on to after the request has completed.
Configuration menu - View commit details
-
Copy full SHA for 2b2caea - Browse repository at this point
Copy the full SHA 2b2caeaView commit details -
Update Netty 4 SHAs to latest snapshots
This commit updates the SHAs for the Netty 4 dependencies to the SHAs for the 20160721-*-7 snapshots.
Configuration menu - View commit details
-
Copy full SHA for 93317e5 - Browse repository at this point
Copy the full SHA 93317e5View commit details -
Fix NPE in Reindex retry tests
This commit fixes an NPE that arises in the retry tests due to the ordering of the setup methods.
Configuration menu - View commit details
-
Copy full SHA for 18d53d3 - Browse repository at this point
Copy the full SHA 18d53d3View commit details -
Run packaged REST tests with Netty 4 module
This commit modifes the Netty 4 build so that the packaged REST tests are run with the Netty 4 module integration tests.
Configuration menu - View commit details
-
Copy full SHA for b458cb1 - Browse repository at this point
Copy the full SHA b458cb1View commit details -
Revert size header frame decoding changes
This commit reverts changes to size header frame decoding to keep the API simple, for now.
Configuration menu - View commit details
-
Copy full SHA for 702bbe4 - Browse repository at this point
Copy the full SHA 702bbe4View commit details -
Use Elastic Netty snapshot artifacts
This commit modifies the Netty 4 dependencies to use Elastic-built artifacts until an official release of Netty 4.1.4.Final+ is made. This is so that we can rely on a stable artifact in the CI environment.
Configuration menu - View commit details
-
Copy full SHA for 35b6c64 - Browse repository at this point
Copy the full SHA 35b6c64View commit details -
This commit renames a lambda future variable from future1 to f because it's cleaner that way.
Configuration menu - View commit details
-
Copy full SHA for df19f09 - Browse repository at this point
Copy the full SHA df19f09View commit details -
Clarify bytes reference to composite buffer
This commit clarifies the conversion from BytesReference to CompositeBuffer in Netty4Utils, and provides a safer conversion.
Configuration menu - View commit details
-
Copy full SHA for 2573dca - Browse repository at this point
Copy the full SHA 2573dcaView commit details -
Update Netty 4 SHAs to latest snapshots
This commit updates the SHAs for the Netty 4 dependencies to the SHAs for the elastic-20160722-*-7 snapshots.
Configuration menu - View commit details
-
Copy full SHA for 463a4f7 - Browse repository at this point
Copy the full SHA 463a4f7View commit details -
Set netty.assert.buglevel in the client
This commit adds netty.assert.buglevel as an additional setting in the client.
Configuration menu - View commit details
-
Copy full SHA for 9960643 - Browse repository at this point
Copy the full SHA 9960643View commit details -
Revert renaming of client:transport
This commit reverts the renaming of client:transport back from client:transport-netty.
Configuration menu - View commit details
-
Copy full SHA for 9a4b46f - Browse repository at this point
Copy the full SHA 9a4b46fView commit details -
Preserve headers from the thread context
This commit preserves headers from the thread context on Netty 4 HTTP responses.
Configuration menu - View commit details
-
Copy full SHA for 0da5ebe - Browse repository at this point
Copy the full SHA 0da5ebeView commit details