Skip to content

Commit b60f8b0

Browse files
committed
Fix formatting.
1 parent 62ef875 commit b60f8b0

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

httpcore5-h2/src/main/java/org/apache/hc/core5/http2/impl/nio/AbstractH2StreamMultiplexer.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -450,10 +450,6 @@ public final void onInput(final ByteBuffer src) throws HttpException, IOExceptio
450450
for (;;) {
451451
final RawFrame frame = inputBuffer.read(src, ioSession);
452452
if (frame != null) {
453-
if (connState.compareTo(ConnectionHandshake.SHUTDOWN) < 0) {
454-
checkStreamTimeouts(System.nanoTime());
455-
}
456-
457453
if (streamListener != null) {
458454
streamListener.onFrameInput(this, frame.getStreamId(), frame);
459455
}
@@ -1647,7 +1643,6 @@ private void checkStreamTimeouts(final long nowNanos) throws IOException {
16471643
idleTimeout,
16481644
true);
16491645
stream.localReset(ex, H2Error.CANCEL);
1650-
// Once reset due to idle timeout, we do not care about lifetime anymore
16511646
continue;
16521647
}
16531648
}

0 commit comments

Comments
 (0)