File tree 2 files changed +2
-2
lines changed
modules/elasticsearch/src/main/java/org/elasticsearch
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ public class NettyHttpServerTransport extends AbstractLifecycleComponent<HttpSer
103
103
this .publishHost = componentSettings .get ("publish_host" );
104
104
this .tcpNoDelay = componentSettings .getAsBoolean ("tcp_no_delay" , true );
105
105
this .tcpKeepAlive = componentSettings .getAsBoolean ("tcp_keep_alive" , null );
106
- this .reuseAddress = componentSettings .getAsBoolean ("reuse_address" , true );
106
+ this .reuseAddress = componentSettings .getAsBoolean ("reuse_address" , null );
107
107
this .tcpSendBufferSize = componentSettings .getAsSize ("tcp_send_buffer_size" , null );
108
108
this .tcpReceiveBufferSize = componentSettings .getAsSize ("tcp_receive_buffer_size" , null );
109
109
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ public NettyTransport(ThreadPool threadPool) {
142
142
this .connectRetries = componentSettings .getAsInt ("connect_retries" , 2 );
143
143
this .tcpNoDelay = componentSettings .getAsBoolean ("tcp_no_delay" , true );
144
144
this .tcpKeepAlive = componentSettings .getAsBoolean ("tcp_keep_alive" , null );
145
- this .reuseAddress = componentSettings .getAsBoolean ("reuse_address" , true );
145
+ this .reuseAddress = componentSettings .getAsBoolean ("reuse_address" , null );
146
146
this .tcpSendBufferSize = componentSettings .getAsSize ("tcp_send_buffer_size" , null );
147
147
this .tcpReceiveBufferSize = componentSettings .getAsSize ("tcp_receive_buffer_size" , null );
148
148
}
You can’t perform that action at this time.
0 commit comments