tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/loggers AccessLogInterceptor.java
Date Fri, 07 Sep 2001 04:51:45 GMT
costin      01/09/06 21:51:45

  Modified:    src/share/org/apache/tomcat/modules/loggers
                        AccessLogInterceptor.java
  Log:
  Some requests may have no C-L header.
  
  Revision  Changes    Path
  1.4       +2 -3      jakarta-tomcat/src/share/org/apache/tomcat/modules/loggers/AccessLogInterceptor.java
  
  Index: AccessLogInterceptor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/loggers/AccessLogInterceptor.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AccessLogInterceptor.java	2001/08/26 01:53:26	1.3
  +++ AccessLogInterceptor.java	2001/09/07 04:51:45	1.4
  @@ -235,9 +235,8 @@
   				fw.write(request.protocol().toString().trim());
   				break;
   			    case 'b':
  -				String cl=response.getMimeHeaders().
  -				    getHeader("Content-Length").toString();
  -				fw.write(cl);
  +				fw.write(response.getMimeHeaders().
  +					 getHeader("Content-Length"));
   				break;
   			    case 's':
   				fw.write(Integer.
  
  
  

Mime
View raw message