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

Deadlock on tcp connections #2

Open
Jossec101 opened this issue Aug 18, 2021 · 0 comments
Open

Deadlock on tcp connections #2

Jossec101 opened this issue Aug 18, 2021 · 0 comments

Comments

@Jossec101
Copy link

Hi, great proxy!

We found that a wait lock until both CopyTo and CopyFrom functions are done can lead to one of the two sides of the proxied TCP connections to be established endlessly, with the changes I provide in #1 this has been fixed and now when one of the sides closes the connection, the teardown method is invoked.

Please feel free to test or suggest changes.

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