Commit 1c79bd26 by Ryan Baxter

Flip disable ssl flag for SimpleHostRoutingFilter. Fixes #2503.

parent c79ac8ba
......@@ -142,7 +142,7 @@ public class SimpleHostRoutingFilter extends ZuulFilter {
private void initialize() {
if(!customHttpClient) {
this.connectionManager = connectionManagerFactory.newConnectionManager(
this.sslHostnameValidationEnabled,
!this.sslHostnameValidationEnabled,
this.hostProperties.getMaxTotalConnections(),
this.hostProperties.getMaxPerRouteConnections(),
this.hostProperties.getTimeToLive(), this.hostProperties.getTimeUnit(),
......
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