tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From na...@apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/server PoolTcpConnector.java
Date Mon, 27 Aug 2001 09:44:19 GMT
nacho       01/08/27 02:44:18

  Modified:    src/share/org/apache/tomcat/modules/server
                        PoolTcpConnector.java
  Log:
  Bug#578
  
  no cookies session tracking fails when used with SSL
  
  Reported by sgala at hisitech.com (Santiago Gala)
  
  This fix is only for the standalone HTTP connector when used SSL,
  we need to find a more general patch  that works with mod_jk too,
  without JSSE and a SSL standalone connector configured.
  
  Revision  Changes    Path
  1.9       +5 -2      jakarta-tomcat/src/share/org/apache/tomcat/modules/server/PoolTcpConnector.java
  
  Index: PoolTcpConnector.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/server/PoolTcpConnector.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- PoolTcpConnector.java	2001/08/19 22:48:56	1.8
  +++ PoolTcpConnector.java	2001/08/27 09:44:18	1.9
  @@ -241,8 +241,8 @@
   	"javax.net.ssl.SSLServerSocketFactory";
       public static final String SSL_FACT=
   	"org.apache.tomcat.util.net.SSLSocketFactory";
  -    
  -    
  +
  +
       public void setSecure( boolean b ) {
   	enabled=false;
   	secure=false;
  @@ -266,6 +266,9 @@
   		log( "Error loading SSL socket factory ", ex);
   		return;
   	    }
  +
  +            System.getProperties().put("java.protocol.handler.pkgs",
  +                        "com.sun.net.ssl.internal.www.protocol");
   	}
       	secure=b;
   	enabled=true;
  
  
  

Mime
View raw message