Aravinth
Aravinth
How to disable maxHeader count 100 validation in spring cloud gateway. I want to send more than 100 headers for some request. So is there any config to disable this...
**Deployed on the server:** If I send more than 100 headers, it blocks the request and throws the following error **error-1** The connection observed an error, the request cannot be...
Could you please provide complete config for fix more than 100 headers blocked by Netty. I have tried different differents configuration. I could not understand why the request is blocking...
Yes, already we have tried this "org.springframework.cloud.gateway.config.HttpClientCustomizer" httpServer.httpRequestDecoder(spec -> spec.maxHeaderSize(32 * 1024).maxInitialLineLength(16 * 1024) ); https://github.com/spring-cloud/spring-cloud-gateway/issues/3960#issue-3544277213
``` import org.springframework.cloud.gateway.config.HttpClientCustomizer; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import reactor.netty.http.client.HttpClient; import reactor.netty.resources.ConnectionProvider; import java.time.Duration; @Configuration public class NettConfig { @Bean public ConnectionProvider provider() { return ConnectionProvider.builder("fixed") .maxConnections(500) .maxIdleTime(Duration.ofSeconds(20)) .maxLifeTime(Duration.ofSeconds(60)) .pendingAcquireTimeout(Duration.ofSeconds(60)) .evictInBackground(Duration.ofSeconds(120))...
> what do you mean by "multi-session management" ? It means that the user can log in to multiple devices. So it will create multiple sessions for the user. For...