netty的http1服务器在运行一段时间后会无法提供服务,返回客户端socket hang up 使用apipost测试抓包显示三次握手后被reset,经查是连接数过多
ps:客户端使用了大量短连接,如果能改成长连接就会消耗更少的连接,但是客户…
1、多级路径 ✅类路径和方法路径都可以写成多级 ✅其中,类路径写在方法路径前面 ✅与Servlet不同,SpringMVC中写不写“/”都可以 RequestMapping("/hello/t1")
RestController
public class HelloSpring {RequestMapping( value "world…