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/server JNIConnectionHandler.java Ajp12.java
Date Tue, 27 Feb 2001 02:55:42 GMT
costin      01/02/26 18:55:42

  Modified:    src/share/org/apache/tomcat/modules/server
                        JNIConnectionHandler.java Ajp12.java
  Log:
  String->MessageBytes
  
  Revision  Changes    Path
  1.9       +5 -5      jakarta-tomcat/src/share/org/apache/tomcat/modules/server/JNIConnectionHandler.java
  
  Index: JNIConnectionHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/server/JNIConnectionHandler.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- JNIConnectionHandler.java	2001/02/07 07:01:27	1.8
  +++ JNIConnectionHandler.java	2001/02/27 02:55:41	1.9
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/server/JNIConnectionHandler.java,v
1.8 2001/02/07 07:01:27 costin Exp $
  - * $Revision: 1.8 $
  - * $Date: 2001/02/07 07:01:27 $
  + * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/server/JNIConnectionHandler.java,v
1.9 2001/02/27 02:55:41 costin Exp $
  + * $Revision: 1.9 $
  + * $Date: 2001/02/27 02:55:41 $
    *
    * ====================================================================
    *
  @@ -306,8 +306,8 @@
       		methodMB.setString( env[0] );
       		uriMB.setString( env[1] );
       		queryMB.setString( env[2] );
  -    		remoteAddr  = env[3];
  -    		remoteHost  = env[4];
  +    		remoteAddrMB.setString( env[3] );
  +    		remoteHostMB.setString( env[4] );
       		serverNameMB.setString( env[5] );
               serverPort  = Integer.parseInt(env[6]);
               authType    = env[7];
  
  
  
  1.15      +2 -2      jakarta-tomcat/src/share/org/apache/tomcat/modules/server/Ajp12.java
  
  Index: Ajp12.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/server/Ajp12.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- Ajp12.java	2001/02/25 18:00:34	1.14
  +++ Ajp12.java	2001/02/27 02:55:41	1.15
  @@ -149,8 +149,8 @@
   		    req.pathInfo().setString( readString(ajpin, null));               		    //Apache
parsed path-translated XXX Bug in mod_jserv !!!!!
   		    dummy = readString(ajpin, null);
   		    req.queryString().setString( readString(ajpin, null));  
  -		    req.setRemoteAddr(readString(ajpin, ""));
  -		    req.setRemoteHost( readString(ajpin, ""));
  +		    req.remoteAddr().setString(readString(ajpin, ""));
  +		    req.remoteHost().setString( readString(ajpin, ""));
                       if (isTomcatAuthentication())
                           dummy=readString(ajpin, null);
                       else req.setRemoteUser( readString(ajpin, null));
  
  
  

Mime
View raw message