Author: robert
Date: 2008-01-07 20:56:43 +0000 (Mon, 07 Jan 2008)
New Revision: 16961

Modified:
   trunk/freenet/src/freenet/node/RequestHandler.java
Log:
debugging


Modified: trunk/freenet/src/freenet/node/RequestHandler.java
===================================================================
--- trunk/freenet/src/freenet/node/RequestHandler.java  2008-01-07 20:45:19 UTC 
(rev 16960)
+++ trunk/freenet/src/freenet/node/RequestHandler.java  2008-01-07 20:56:43 UTC 
(rev 16961)
@@ -85,11 +85,15 @@
         }
     }

+       private Exception previousApplyByteCountCall;
+       
     private void applyByteCounts() {
                if (appliedByteCounts) {
                        Logger.error(this, "applyByteCounts already called", 
new Exception("error"));
+                       Logger.error(this, "first called here", 
previousApplyByteCountCall);
                        return;
                }
+               previousApplyByteCountCall=new Exception("first call to 
applyByteCounts");
                appliedByteCounts=true;
         if((!finalTransferFailed) && rs != null && status != 
RequestSender.TIMED_OUT && status != RequestSender.GENERATED_REJECTED_OVERLOAD 
            && status != RequestSender.INTERNAL_ERROR) {


Reply via email to