remove https port 8443 registration.

It overwrote the port 443 registration.

fixes gh-461
This commit is contained in:
Spencer Gibb
2015-07-27 15:00:49 -06:00
parent 79f939bec5
commit e5e677c0ad

View File

@@ -81,6 +81,7 @@ import com.netflix.zuul.constants.ZuulConstants;
import com.netflix.zuul.context.RequestContext;
@CommonsLog
@SuppressWarnings("deprecation")
public class SimpleHostRoutingFilter extends ZuulFilter {
public static final String CONTENT_ENCODING = "Content-Encoding";
@@ -313,7 +314,6 @@ public class SimpleHostRoutingFilter extends ZuulFilter {
SchemeRegistry registry = new SchemeRegistry();
registry.register(new Scheme("http", PlainSocketFactory.getSocketFactory(), 80));
registry.register(new Scheme("https", sf, 443));
registry.register(new Scheme("https", sf, 8443));
ThreadSafeClientConnManager cm = new ThreadSafeClientConnManager(registry);
cm.setMaxTotal(Integer.parseInt(System.getProperty("zuul.max.host.connections",
"200")));