https://bz.apache.org/bugzilla/show_bug.cgi?id=64496
--- Comment #3 from ethan <xuep2...@163.com> --- Hi Team, Thank you for your prompt reply. I uploaded the minimal test case, this case is receive the request and forward it to the mock server. An error will occur when the keepAlive of Spring WebClient is set to true. --------------------------------------------------- The code is: @Bean public WebClient webclient() { ReactorResourceFactory factory = new ReactorResourceFactory(); factory.setUseGlobalResources(false); factory.setConnectionProvider(ConnectionProvider.fixed("webclient-conn", 128, 1000)); factory.setLoopResources(LoopResources.create("webclient-loop", 8, true)); ClientHttpConnector connector = new ReactorClientHttpConnector(factory, httpClient -> { return httpClient.tcpConfiguration(c -> c.option(ChannelOption.CONNECT_TIMEOUT_MILLIS, 2000) .option(ChannelOption.TCP_NODELAY, true).option(ChannelOption.SO_REUSEADDR, true) .option(ChannelOption.SO_KEEPALIVE, true).doOnConnected(conn -> { conn.addHandlerLast(new ReadTimeoutHandler(60000)).addHandlerLast(new WriteTimeoutHandler(3000)); }).wiretap(true)).keepAlive(true); }); return WebClient.builder().baseUrl("http://127.0.0.1:25090").clientConnector(connector).build(); } -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org