Skip to content

Commit

Permalink
Merge #3124 into 1.1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
violetagg committed Mar 29, 2024
2 parents 77fd497 + 049e332 commit e3c0883
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,8 @@ public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise)
.execute(this);
}
else {
IdleTimeoutHandler.addIdleTimeoutHandler(ctx.pipeline(), idleTimeout);

ctx.read();
}
return;
Expand Down Expand Up @@ -471,8 +473,6 @@ public void operationComplete(ChannelFuture future) {
}
}

IdleTimeoutHandler.addIdleTimeoutHandler(future.channel().pipeline(), idleTimeout);

HttpServerOperations.cleanHandlerTerminate(future.channel());
}

Expand Down

0 comments on commit e3c0883

Please sign in to comment.