-
Notifications
You must be signed in to change notification settings - Fork 454
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
Hangs indefinitely while removing toxic #210
Comments
This seems to be due to the bandwidth rate being set to 0. Right now zero / negative are undefined behavior for most toxics. I believe this was one of the issues I was trying to address in my Bidirectional toxics branch. Maybe I'll spend some time updating it. |
@xthexder Thanks. I can help with testing your branch. Is there any other way to simulate half open connections? |
Hi. Any update on this? |
Hey folks! We ran frequently into this bug when using |
@Donnerbart It should be fixed in latest version by #436 . I am going to close this issue, pls raise a new issue in case you have still problem. |
@miry Thanks for the clarification about the deadlock. @miry @xthexder Is it still unsupported to use the bandwidth proxy with rate We had big issues with hanging tests and created a workaround using the timeout proxy with |
I think the timeout/non-blocking write changes have resolved the deadlocks in the bandwidth toxic. If you don't care about resuming the connection after pausing, then the timeout toxic will be the better option. It will not buffer any data, and will immediately drop it, since the connection is expected to be closed after. I'm not an active user of Toxiproxy these days, so I haven't really tested this scenario with the latest version. |
The
Clean
methods blocks indefinitely. This is happening on both 2.1.2 and 2.1.3The text was updated successfully, but these errors were encountered: