web-flux
关于Spring-webflux编程中body只能获取一次的问题解决方案
springmvc servlet3.0,以及超时设置:
https://www.itcodemonkey.com/article/9649.html
tomcat设置synchttp的超时设置:
http://sunqi.iteye.com/blog/1882022
在spring boot中设置超时:
https://www.colabug.com/4116657.html
@Override
public void configureAsyncSupport(final AsyncSupportConfigurer configurer) {
//处理 callable超时
configurer.setDefaultTimeout(60*1000);
configurer.registerCallableInterceptors(timeoutInterceptor());
configurer.setTaskExecutor(getAsyncThreadPoolTaskExecutor());
}
也许web-flux也能采用这种方式做超时设置
sse 204httpcode就会断开此链接:
https://blog.csdn.net/omnispace/article/details/80371836