From 206631df4fb47bc7619a3f6ce3d134a33d4ac012 Mon Sep 17 00:00:00 2001 From: Tim Brooks Date: Fri, 6 Sep 2024 10:51:03 -0600 Subject: [PATCH] Change --- .../elasticsearch/http/netty4/Netty4HttpHeaderValidator.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/transport-netty4/src/main/java/org/elasticsearch/http/netty4/Netty4HttpHeaderValidator.java b/modules/transport-netty4/src/main/java/org/elasticsearch/http/netty4/Netty4HttpHeaderValidator.java index 24d3ba9d04323..6ec3a3881fb9e 100644 --- a/modules/transport-netty4/src/main/java/org/elasticsearch/http/netty4/Netty4HttpHeaderValidator.java +++ b/modules/transport-netty4/src/main/java/org/elasticsearch/http/netty4/Netty4HttpHeaderValidator.java @@ -243,10 +243,6 @@ private static void maybeResizePendingDown(int largeSize, ArrayDeque } } - private static void setAutoReadForState(ChannelHandlerContext ctx, State state) { - ctx.channel().config().setAutoRead((state == QUEUEING_DATA || state == DROPPING_DATA_PERMANENTLY) == false); - } - enum State { WAITING_TO_START, QUEUEING_DATA,