jakarta-watchdog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rlu...@apache.org
Subject cvs commit: jakarta-watchdog-4.0/src/tools/org/apache/tomcat/task GTest.java
Date Fri, 18 Jan 2002 17:57:11 GMT
rlubke      02/01/18 09:57:11

  Modified:    src/tools/org/apache/tomcat/task GTest.java
  Log:
   - Added debug message for request Content-Lenght headers.
  
  Revision  Changes    Path
  1.12      +4 -0      jakarta-watchdog-4.0/src/tools/org/apache/tomcat/task/GTest.java
  
  Index: GTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/tools/org/apache/tomcat/task/GTest.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- GTest.java	17 Jan 2002 14:18:46 -0000	1.11
  +++ GTest.java	18 Jan 2002 17:57:11 -0000	1.12
  @@ -851,6 +851,10 @@
               */
   
               if ( content != null ) {
  +                int length = content.length();
  +                if ( debug > 0 ) {
  +                    System.out.println( " REQUEST HEADER: Content-Length: " + length );
  +                }
                   pw.println( "Content-Length: " + content.length() );
               }
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:watchdog-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:watchdog-dev-help@jakarta.apache.org>


Mime
View raw message