Closed monstrfolk closed 1 year ago
Error when using reverse proxy
org.springframework.core.io.buffer.DataBufferLimitException: Exceeded limit on max bytes to buffer : 262144
There is a way to increase buffer size for webclient, for example...
WebClient.builder() .uriBuilderFactory(factory) .exchangeStrategies(ExchangeStrategies.builder().codecs( configurer -> configurer.defaultCodecs().maxInMemorySize(SIXTEEN_MB)).build()) .build();
How to do this using the WebClientConfigurer?
@mkopylec any guidance would be helpful, thanks
Error when using reverse proxy
org.springframework.core.io.buffer.DataBufferLimitException: Exceeded limit on max bytes to buffer : 262144
There is a way to increase buffer size for webclient, for example...
WebClient.builder() .uriBuilderFactory(factory) .exchangeStrategies(ExchangeStrategies.builder().codecs( configurer -> configurer.defaultCodecs().maxInMemorySize(SIXTEEN_MB)).build()) .build();
How to do this using the WebClientConfigurer?