mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
Modify x-pack to for TcpTransport
changes
This is related to elatic/elasticsearch#27407. That commit removed parameterization from TcpTranport. This commit modifies the security transport to be compatible with those changes. Original commit: elastic/x-pack-elasticsearch@9878c26e14
This commit is contained in:
parent
37c29a4006
commit
f94e6d427b
@ -109,7 +109,7 @@ public class SecurityNetty4Transport extends Netty4Transport {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onException(NettyTcpChannel channel, Exception e) {
|
||||
protected void onException(TcpChannel channel, Exception e) {
|
||||
if (!lifecycle.started()) {
|
||||
// just close and ignore - we are already stopped and just need to make sure we release all resources
|
||||
TcpChannel.closeChannel(channel, false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user