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/facade22/org/apache/tomcat/facade HttpServletRequestFacade.java
Date Tue, 27 Feb 2001 02:49:27 GMT
costin      01/02/26 18:49:27

  Modified:    src/facade22/org/apache/tomcat/facade
                        HttpServletRequestFacade.java
  Log:
  Update for the 2 fields converted to MessageBytes ( Request shouldn't
  have any String field that is changed per request, but so far only
  those that mattered are converted )
  
  ( This is the only change in the core required for Ajp13 optimization )
  
  Revision  Changes    Path
  1.19      +2 -2      jakarta-tomcat/src/facade22/org/apache/tomcat/facade/HttpServletRequestFacade.java
  
  Index: HttpServletRequestFacade.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/facade22/org/apache/tomcat/facade/HttpServletRequestFacade.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- HttpServletRequestFacade.java	2001/02/20 03:34:10	1.18
  +++ HttpServletRequestFacade.java	2001/02/27 02:49:27	1.19
  @@ -341,11 +341,11 @@
       }
       
       public String getRemoteAddr() {
  -        return request.getRemoteAddr();
  +        return request.remoteAddr().toString();
       }
   
       public String getRemoteHost() {
  -        return request.getRemoteHost();
  +        return request.remoteHost().toString();
       }
   
       public String getRequestURI() {
  
  
  

Mime
View raw message