@@ -165,7 +165,7 @@ public void channelRead(ChannelHandlerContext ctx, Object msg) {
165
165
if (persistentConnection ) {
166
166
pendingResponses += 1 ;
167
167
if (HttpServerOperations .log .isDebugEnabled ()) {
168
- HttpServerOperations .log .debug (format (ctx .channel (), "Increasing pending responses, now {}" ),
168
+ HttpServerOperations .log .debug (format (ctx .channel (), "Increasing pending responses count: {}" ),
169
169
pendingResponses );
170
170
}
171
171
persistentConnection = isKeepAlive (request );
@@ -181,7 +181,7 @@ public void channelRead(ChannelHandlerContext ctx, Object msg) {
181
181
if (pendingResponses > 1 ) {
182
182
if (HttpServerOperations .log .isDebugEnabled ()) {
183
183
HttpServerOperations .log .debug (format (ctx .channel (), "Buffering pipelined HTTP request, " +
184
- "pending response count: {}, queue: {}" ),
184
+ "pending responses count: {}, queue: {}" ),
185
185
pendingResponses ,
186
186
pipelined != null ? pipelined .size () : 0 );
187
187
}
@@ -259,7 +259,7 @@ else if (persistentConnection && pendingResponses == 0) {
259
259
else if (overflow ) {
260
260
if (HttpServerOperations .log .isDebugEnabled ()) {
261
261
HttpServerOperations .log .debug (format (ctx .channel (), "Buffering pipelined HTTP content, " +
262
- "pending response count: {}, pending pipeline: {}" ),
262
+ "pending responses count: {}, queue: {}" ),
263
263
pendingResponses ,
264
264
pipelined != null ? pipelined .size () : 0 );
265
265
}
@@ -327,7 +327,7 @@ public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise)
327
327
if (!shouldKeepAlive ()) {
328
328
if (HttpServerOperations .log .isDebugEnabled ()) {
329
329
HttpServerOperations .log .debug (format (ctx .channel (), "Detected non persistent http " +
330
- "connection, preparing to close" ),
330
+ "connection, preparing to close. Pending responses count: {} " ),
331
331
pendingResponses );
332
332
}
333
333
ctx .write (msg , promise .unvoid ())
@@ -347,15 +347,15 @@ public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise)
347
347
nonInformationalResponse = false ;
348
348
pendingResponses -= 1 ;
349
349
if (HttpServerOperations .log .isDebugEnabled ()) {
350
- HttpServerOperations .log .debug (format (ctx .channel (), "Decreasing pending responses, now {}" ),
350
+ HttpServerOperations .log .debug (format (ctx .channel (), "Decreasing pending responses count: {}" ),
351
351
pendingResponses );
352
352
}
353
353
}
354
354
355
355
if (pipelined != null && !pipelined .isEmpty ()) {
356
356
if (HttpServerOperations .log .isDebugEnabled ()) {
357
357
HttpServerOperations .log .debug (format (ctx .channel (), "Draining next pipelined " +
358
- "request, pending response count: {}, queued: {}" ),
358
+ "HTTP request, pending responses count: {}, queued: {}" ),
359
359
pendingResponses , pipelined .size ());
360
360
}
361
361
ctx .executor ()
0 commit comments