You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@apache.org on 2001/02/27 03:49:27 UTC

cvs commit: jakarta-tomcat/src/facade22/org/apache/tomcat/facade HttpServletRequestFacade.java

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() {