tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fha...@apache.org
Subject svn commit: r534913 - /tomcat/tc6.0.x/trunk/java/org/apache/catalina/startup/Embedded.java
Date Thu, 03 May 2007 15:49:10 GMT
Author: fhanik
Date: Thu May  3 08:49:09 2007
New Revision: 534913

URL: http://svn.apache.org/viewvc?view=rev&rev=534913
Log:
Ability to create a connector using a custom protocol specification for embedded.
Fix for bug 42309

Modified:
    tomcat/tc6.0.x/trunk/java/org/apache/catalina/startup/Embedded.java

Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/startup/Embedded.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/startup/Embedded.java?view=diff&rev=534913&r1=534912&r2=534913
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/catalina/startup/Embedded.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/catalina/startup/Embedded.java Thu May  3 08:49:09
2007
@@ -427,7 +427,10 @@
                 connector = new Connector();
                 connector.setScheme("https");
                 connector.setSecure(true);
+                connector.setProperty("SSLEnabled","true");
                 // FIXME !!!! SET SSL PROPERTIES
+            } else {
+                connector = new Connector(protocol);
             }
 
             if (address != null) {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message