tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r979854 - /tomcat/trunk/test/org/apache/catalina/startup/TestTomcatSSL.java
Date Tue, 27 Jul 2010 20:28:38 GMT
Author: markt
Date: Tue Jul 27 20:28:38 2010
New Revision: 979854

URL: http://svn.apache.org/viewvc?rev=979854&view=rev
Log:
Fix unit test failure with APR. SSL renegotiation will not work by default for this connector.

Modified:
    tomcat/trunk/test/org/apache/catalina/startup/TestTomcatSSL.java

Modified: tomcat/trunk/test/org/apache/catalina/startup/TestTomcatSSL.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/startup/TestTomcatSSL.java?rev=979854&r1=979853&r2=979854&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/startup/TestTomcatSSL.java (original)
+++ tomcat/trunk/test/org/apache/catalina/startup/TestTomcatSSL.java Tue Jul 27 20:28:38 2010
@@ -188,6 +188,9 @@ public class TestTomcatSSL extends Tomca
         if (protocol.indexOf("Nio") != -1) {
             return; // Not supported yet (2010-07-22)
         }
+        if (protocol.indexOf("Apr") != -1) {
+            return; // Disabled by default in 1.1.20 windows binary (2010-07-27)
+        }
 
         SSLContext sslCtx = SSLContext.getInstance("TLS");
         sslCtx.init(null, trustAllCerts, new java.security.SecureRandom());



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


Mime
View raw message