tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1132361 - /tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java
Date Sun, 05 Jun 2011 10:04:18 GMT
Author: markt
Date: Sun Jun  5 10:04:18 2011
New Revision: 1132361

URL: http://svn.apache.org/viewvc?rev=1132361&view=rev
Log:
Align ssl test in parseHost in BIO and NIO & APR

Modified:
    tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java

Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java?rev=1132361&r1=1132360&r2=1132361&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java Sun Jun  5 10:04:18 2011
@@ -826,7 +826,7 @@ public class Http11Processor extends Abs
         }
 
         if (colonPos < 0) {
-            if (sslSupport == null) {
+            if (!endpoint.isSSLEnabled()) {
                 // 80 - Default HTTP port
                 request.setServerPort(80);
             } else {



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


Mime
View raw message