第一个坑是"连接被服务端静默关闭后,客户端还在用旧连接"。 典型报错是 Connection reset by peer 或 Unexpected EOF 。 原因是服务端的 keep-alive 超时比客户端短,服务端已经关闭了连接,客户端池里还留着这条"死连接",等到真正发请求时才发现连不上。
Some results have been hidden because they may be inaccessible to you
Show inaccessible resultsSome results have been hidden because they may be inaccessible to you
Show inaccessible results