monkeyWie / proxyee

HTTP proxy server,support HTTPS&websocket.MITM impl,intercept and tamper HTTPS traffic.
MIT License
1.54k stars 573 forks source link

在服务端主动关闭连接的时候,会出现问题 || Problems may occur when the server actively closes the connection. #294

Open poetic-edge opened 6 months ago

poetic-edge commented 6 months ago

在代理访问某些网站的时候,网站的服务端会主动关闭连接,就会导致页面刷新异常。 建议在这个文件里添加对HttpProxyServerHandler.java添加对getChannelFuture()主动断开的处理。

(为啥不主动提PR,因为java写的很少,怕给你添乱了)


When the proxy accesses certain websites, the server of the website will actively close the connection, which will cause the page to refresh abnormally. It is recommended to add [HttpProxyServerHandler.java](https://github.com/monkeyWie/proxyee/blob/master/src/main/java/com/github/monkeywie/proxyee/handler/HttpProxyServerHandler.java#L349 to this file ) Add processing for active disconnection of getChannelFuture().

(Why don't you take the initiative to submit a PR? Because I write very little Java, I'm afraid it will cause trouble for you)