Align ssl test in parseHost in BIO and NIO & APR
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 5 Jun 2011 10:04:18 +0000 (10:04 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 5 Jun 2011 10:04:18 +0000 (10:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1132361 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/coyote/http11/Http11Processor.java

index 520732e..04eabd8 100644 (file)
@@ -826,7 +826,7 @@ public class Http11Processor extends AbstractHttp11Processor {
         }
 
         if (colonPos < 0) {
-            if (sslSupport == null) {
+            if (!endpoint.isSSLEnabled()) {
                 // 80 - Default HTTP port
                 request.setServerPort(80);
             } else {