charon-spring-boot-starter icon indicating copy to clipboard operation
charon-spring-boot-starter copied to clipboard

Exceeded limit on max bytes to buffer : 262144

Open monstrfolk opened this issue 3 years ago • 2 comments

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?

monstrfolk avatar Aug 01 '21 05:08 monstrfolk

@mkopylec any guidance would be helpful, thanks

monstrfolk avatar Sep 15 '21 06:09 monstrfolk

#130

monstrfolk avatar Sep 24 '21 03:09 monstrfolk