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

Fixed retry bug and burst issues #25

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

BriceSchaffner
Copy link

Fixed issue #23 and #24.

Schaffner Brice METAS added 4 commits April 11, 2019 15:42
can create a lot of packet loss on some networks.
Now the multi_ping retry functionality works correctly.
The issue was that an ICMP retry packet was sent with a new ID, but the
receive function was still checking packets using old IDs.

Now the remainings_id is reinitialized with the new ids during each sends.
This way the receive function always used the latest ids for packet
matching.

The source address of the packet has also been added to the packet
matching to make the request/reply match more robust.
Now the number of retry are added to the result dictionary.
joshland pushed a commit to joshland/multi-ping that referenced this pull request Apr 9, 2020
joshland pushed a commit to joshland/multi-ping that referenced this pull request Apr 9, 2020
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

Successfully merging this pull request may close these issues.

3 participants