Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-3509 Register TcpSenders on wrapped connection
Fixes #3509 Dead connections are not being removed on `TcpSender` when using a `TcpConnectionInterceptor`. May cause a memory leak * Fix `TcpConnectionInterceptorSupport` to override `registerSenders()` and delegate to the `this.theConnection` * Introduce vararg-based `setInterceptor()` into `TcpConnectionInterceptorFactoryChain` * Remove redundant `//NOSONAR` and properly return an `Arrays.copyOf()` in the `getInterceptorFactories()` **Cherry-pick to `5.4.x`**
- Loading branch information
1 parent
51f2188
commit 1e67a94
Showing
4 changed files
with
98 additions
and
61 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
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
Oops, something went wrong.