mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-02 08:59:09 +00:00
By default, set http.compression to false, closes #1482.
This commit is contained in:
parent
bff980c797
commit
f28c11b31c
@ -144,7 +144,7 @@ public class NettyHttpServerTransport extends AbstractLifecycleComponent<HttpSer
|
||||
this.tcpSendBufferSize = componentSettings.getAsBytesSize("tcp_send_buffer_size", settings.getAsBytesSize(TCP_SEND_BUFFER_SIZE, TCP_DEFAULT_SEND_BUFFER_SIZE));
|
||||
this.tcpReceiveBufferSize = componentSettings.getAsBytesSize("tcp_receive_buffer_size", settings.getAsBytesSize(TCP_RECEIVE_BUFFER_SIZE, TCP_DEFAULT_RECEIVE_BUFFER_SIZE));
|
||||
|
||||
this.compression = settings.getAsBoolean("http.compression", true);
|
||||
this.compression = settings.getAsBoolean("http.compression", false);
|
||||
this.compressionLevel = settings.getAsInt("http.compression_level", 6);
|
||||
|
||||
// validate max content length
|
||||
|
Loading…
x
Reference in New Issue
Block a user