Commit e5e677c0 by Spencer Gibb

remove https port 8443 registration.

It overwrote the port 443 registration. fixes gh-461
parent 79f939be
...@@ -81,6 +81,7 @@ import com.netflix.zuul.constants.ZuulConstants; ...@@ -81,6 +81,7 @@ import com.netflix.zuul.constants.ZuulConstants;
import com.netflix.zuul.context.RequestContext; import com.netflix.zuul.context.RequestContext;
@CommonsLog @CommonsLog
@SuppressWarnings("deprecation")
public class SimpleHostRoutingFilter extends ZuulFilter { public class SimpleHostRoutingFilter extends ZuulFilter {
public static final String CONTENT_ENCODING = "Content-Encoding"; public static final String CONTENT_ENCODING = "Content-Encoding";
...@@ -313,7 +314,6 @@ public class SimpleHostRoutingFilter extends ZuulFilter { ...@@ -313,7 +314,6 @@ public class SimpleHostRoutingFilter extends ZuulFilter {
SchemeRegistry registry = new SchemeRegistry(); SchemeRegistry registry = new SchemeRegistry();
registry.register(new Scheme("http", PlainSocketFactory.getSocketFactory(), 80)); registry.register(new Scheme("http", PlainSocketFactory.getSocketFactory(), 80));
registry.register(new Scheme("https", sf, 443)); registry.register(new Scheme("https", sf, 443));
registry.register(new Scheme("https", sf, 8443));
ThreadSafeClientConnManager cm = new ThreadSafeClientConnManager(registry); ThreadSafeClientConnManager cm = new ThreadSafeClientConnManager(registry);
cm.setMaxTotal(Integer.parseInt(System.getProperty("zuul.max.host.connections", cm.setMaxTotal(Integer.parseInt(System.getProperty("zuul.max.host.connections",
"200"))); "200")));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment