diff --git a/connectors/netty-connector/src/main/java/org/glassfish/jersey/netty/connector/internal/NettyInputStream.java b/connectors/netty-connector/src/main/java/org/glassfish/jersey/netty/connector/internal/NettyInputStream.java index 3da70198a7..0c0a94c8f3 100644 --- a/connectors/netty-connector/src/main/java/org/glassfish/jersey/netty/connector/internal/NettyInputStream.java +++ b/connectors/netty-connector/src/main/java/org/glassfish/jersey/netty/connector/internal/NettyInputStream.java @@ -160,6 +160,12 @@ public synchronized void publish(ByteBuf content) { public void clear() { end = false; + reading = false; + + cause = null; + buffer = null; + current = null; + isList.clear(); } }