We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76cf912 commit 3455d74Copy full SHA for 3455d74
reactor-netty-http/src/main/java/reactor/netty/http/Http2ConnectionLiveness.java
@@ -19,6 +19,7 @@
19
import io.netty.channel.ChannelFuture;
20
import io.netty.channel.ChannelFutureListener;
21
import io.netty.channel.ChannelHandlerContext;
22
+import io.netty.handler.codec.http2.Http2DataFrame;
23
import io.netty.handler.codec.http2.Http2FrameCodec;
24
import io.netty.handler.codec.http2.Http2FrameWriter;
25
import io.netty.handler.codec.http2.Http2PingFrame;
@@ -145,6 +146,10 @@ public void receive(Object msg) {
145
146
lastReceivedPingTime = System.nanoTime();
147
}
148
149
+
150
+ if (msg instanceof Http2DataFrame) {
151
+ cancel();
152
+ }
153
154
155
/**
0 commit comments