hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1134578 - /httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/NHttpClientProtocolHandler.java
Date Sat, 11 Jun 2011 12:14:34 GMT
Author: olegk
Date: Sat Jun 11 12:14:33 2011
New Revision: 1134578

URL: http://svn.apache.org/viewvc?rev=1134578&view=rev
Log:
Extra debug logs

Modified:
    httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/NHttpClientProtocolHandler.java

Modified: httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/NHttpClientProtocolHandler.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/NHttpClientProtocolHandler.java?rev=1134578&r1=1134577&r2=1134578&view=diff
==============================================================================
--- httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/NHttpClientProtocolHandler.java
(original)
+++ httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/NHttpClientProtocolHandler.java
Sat Jun 11 12:14:33 2011
@@ -194,6 +194,9 @@ class NHttpClientProtocolHandler impleme
         }
         try {
             handler.consumeContent(decoder, conn);
+            if (this.log.isDebugEnabled()) {
+                this.log.debug(conn + " Content decoder " + decoder);
+            }
             if (decoder.isCompleted()) {
                 processResponse(conn, httpexchange, handler);
             }
@@ -219,6 +222,9 @@ class NHttpClientProtocolHandler impleme
                 return;
             }
             handler.produceContent(encoder, conn);
+            if (this.log.isDebugEnabled()) {
+                this.log.debug(conn + " Content encoder " + encoder);
+            }
             if (encoder.isCompleted()) {
                 httpexchange.setRequestState(MessageState.COMPLETED);
             }



Mime
View raw message