Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
poetic-edge opened this issue May 29, 2024 · 0 comments

Comments

@poetic-edge
Copy link

poetic-edge commented May 29, 2024

在代理访问某些网站的时候,网站的服务端会主动关闭连接,就会导致页面刷新异常。
建议在这个文件里添加对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)

@github-actions github-actions bot changed the title 在服务端主动关闭连接的时候,会出现问题 在服务端主动关闭连接的时候,会出现问题 || Problems may occur when the server actively closes the connection. May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant