You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues and didn't find my feature already requested there
Feature description
I'm thinking of adding some sort of MiddleMan class which works as both listener and connector. Once it receives a connection, it would connect to the final destination (some service being tested, probably). The test code could then arbitrarily disconnect either, or both sides, or make them unresponsive to test how the code would fare in these situations.
Testing TLS connections like this is a tad more complicated, but completely doable.
It would be prudent for implementations of network protocols to be tested around their handling of disconnections, and this is not trivial to accomplish with existing tools.
The text was updated successfully, but these errors were encountered:
Things to check first
Feature description
I'm thinking of adding some sort of
MiddleMan
class which works as both listener and connector. Once it receives a connection, it would connect to the final destination (some service being tested, probably). The test code could then arbitrarily disconnect either, or both sides, or make them unresponsive to test how the code would fare in these situations.Testing TLS connections like this is a tad more complicated, but completely doable.
This would be best paired with #151.
Use case
It would be prudent for implementations of network protocols to be tested around their handling of disconnections, and this is not trivial to accomplish with existing tools.
The text was updated successfully, but these errors were encountered: