You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2013/02/14 13:09:27 UTC

svn commit: r1446138 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/coyote/Request.java

Author: markt
Date: Thu Feb 14 12:09:27 2013
New Revision: 1446138

URL: http://svn.apache.org/r1446138
Log:
Follow on to r1446110
Since -1 is used to indicate the start time has not been set, make sure that is what is used for the initial value

Modified:
    tomcat/tc7.0.x/trunk/   (props changed)
    tomcat/tc7.0.x/trunk/java/org/apache/coyote/Request.java

Propchange: tomcat/tc7.0.x/trunk/
------------------------------------------------------------------------------
  Merged /tomcat/trunk:r1446137

Modified: tomcat/tc7.0.x/trunk/java/org/apache/coyote/Request.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/coyote/Request.java?rev=1446138&r1=1446137&r2=1446138&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/coyote/Request.java (original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/coyote/Request.java Thu Feb 14 12:09:27 2013
@@ -140,7 +140,7 @@ public final class Request {
 
     private int bytesRead=0;
     // Time of the request - useful to avoid repeated calls to System.currentTime
-    private long startTime = 0L;
+    private long startTime = -1;
     private int available = 0;
 
     private RequestInfo reqProcessorMX=new RequestInfo(this);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org