网络调用中的常见报错

connection reset (by peer)

服务端主动close连接,发送fin报文。客户端回复ack,并进入close_wait。此时,若客户端还在读数据,报错connection reset;若客户端还在写数据,报错connection reset by peer。

https://www.jianshu.com/p/6ce9598d61fb

posted @ 2022-11-30 23:45  moon_orange  阅读(19)  评论(0编辑  收藏  举报