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

Latency is wrong after connection drops #114

Open
george-galvin opened this issue Mar 12, 2024 · 0 comments
Open

Latency is wrong after connection drops #114

george-galvin opened this issue Mar 12, 2024 · 0 comments

Comments

@george-galvin
Copy link

Describe the bug
Sometimes after reconnecting after a connection drop, a ping request will be answered immediately by the response from the previous request which is waiting in the socket buffer. This creates a chain reaction where each request afterwards is answered by the response to the previous one, and so the ping latency is basically zero.

To Reproduce
Steps to reproduce the behavior:

  • Run a ping test with a high count
  • Mess with the connection to cause drops (can take a few tries)

Expected behavior
There should be a check that the sent sequence number = received sequence number.

Screenshots
Here, I added print statements in executor.py to display the sent/received sequence numbers
image

image

Desktop (please complete the following information):

  • OS: Ubuntu 22.04.3 LTS
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