diff --git a/reactor-netty-http/src/main/java/reactor/netty/http/server/HttpTrafficHandler.java b/reactor-netty-http/src/main/java/reactor/netty/http/server/HttpTrafficHandler.java index 5e7fc28a15..e50a108f9b 100644 --- a/reactor-netty-http/src/main/java/reactor/netty/http/server/HttpTrafficHandler.java +++ b/reactor-netty-http/src/main/java/reactor/netty/http/server/HttpTrafficHandler.java @@ -165,7 +165,7 @@ public void channelRead(ChannelHandlerContext ctx, Object msg) { if (persistentConnection) { pendingResponses += 1; if (HttpServerOperations.log.isDebugEnabled()) { - HttpServerOperations.log.debug(format(ctx.channel(), "Increasing pending responses, now {}"), + HttpServerOperations.log.debug(format(ctx.channel(), "Increasing pending responses count: {}"), pendingResponses); } persistentConnection = isKeepAlive(request); @@ -181,7 +181,7 @@ public void channelRead(ChannelHandlerContext ctx, Object msg) { if (pendingResponses > 1) { if (HttpServerOperations.log.isDebugEnabled()) { HttpServerOperations.log.debug(format(ctx.channel(), "Buffering pipelined HTTP request, " + - "pending response count: {}, queue: {}"), + "pending responses count: {}, queue: {}"), pendingResponses, pipelined != null ? pipelined.size() : 0); } @@ -259,7 +259,7 @@ else if (persistentConnection && pendingResponses == 0) { else if (overflow) { if (HttpServerOperations.log.isDebugEnabled()) { HttpServerOperations.log.debug(format(ctx.channel(), "Buffering pipelined HTTP content, " + - "pending response count: {}, pending pipeline:{}"), + "pending responses count: {}, queue: {}"), pendingResponses, pipelined != null ? pipelined.size() : 0); } @@ -327,7 +327,7 @@ public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) if (!shouldKeepAlive()) { if (HttpServerOperations.log.isDebugEnabled()) { HttpServerOperations.log.debug(format(ctx.channel(), "Detected non persistent http " + - "connection, preparing to close"), + "connection, preparing to close. Pending responses count: {}"), pendingResponses); } ctx.write(msg, promise.unvoid()) @@ -347,7 +347,7 @@ public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) nonInformationalResponse = false; pendingResponses -= 1; if (HttpServerOperations.log.isDebugEnabled()) { - HttpServerOperations.log.debug(format(ctx.channel(), "Decreasing pending responses, now {}"), + HttpServerOperations.log.debug(format(ctx.channel(), "Decreasing pending responses count: {}"), pendingResponses); } } @@ -355,7 +355,7 @@ public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) if (pipelined != null && !pipelined.isEmpty()) { if (HttpServerOperations.log.isDebugEnabled()) { HttpServerOperations.log.debug(format(ctx.channel(), "Draining next pipelined " + - "request, pending response count: {}, queued: {}"), + "HTTP request, pending responses count: {}, queued: {}"), pendingResponses, pipelined.size()); } ctx.executor()