Skip to content

Commit 0c6b7ae

Browse files
committed
Fixing merge
1 parent 43b1506 commit 0c6b7ae

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/config/GatewayAutoConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,8 @@ public RouteRefreshListener routeRefreshListener(ApplicationEventPublisher publi
275275

276276
@Bean
277277
@ConditionalOnMissingBean
278-
public FilteringWebHandler filteringWebHandler(List<GlobalFilter> globalFilters) {
279-
return new FilteringWebHandler(globalFilters);
278+
public FilteringWebHandler filteringWebHandler(List<GlobalFilter> globalFilters, GatewayProperties properties) {
279+
return new FilteringWebHandler(globalFilters, properties.isRouteFilterCacheEnabled());
280280
}
281281

282282
@Bean

spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/config/HttpClientProperties.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ public static class Pool {
209209
private boolean metrics = false;
210210

211211
/**
212-
* Configures the leasing strategy for the pool (fifo or lifo), defaults
213-
* to FIFO which is Netty's default.
212+
* Configures the leasing strategy for the pool (fifo or lifo), defaults to FIFO
213+
* which is Netty's default.
214214
*/
215215
private LeasingStrategy leasingStrategy = LeasingStrategy.FIFO;
216216

@@ -332,8 +332,7 @@ public enum LeasingStrategy {
332332
public static class Proxy {
333333

334334
/**
335-
* proxyType for proxy configuration of Netty HttpClient (http, socks4 or
336-
* socks5).
335+
* proxyType for proxy configuration of Netty HttpClient (http, socks4 or socks5).
337336
*/
338337
private ProxyProvider.Proxy type = ProxyProvider.Proxy.HTTP;
339338

0 commit comments

Comments
 (0)