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

packet may "stuck" during interactive exchange #55

Open
paulperegud opened this issue Mar 31, 2017 · 1 comment
Open

packet may "stuck" during interactive exchange #55

paulperegud opened this issue Mar 31, 2017 · 1 comment

Comments

@paulperegud
Copy link

I'm running multiple pydevp2p instances on local machine on different ports. Nodes are running an interactive subprotocol (sort of a custom handshake) where they send challenge and await challenge response. Sometimes challenge is not delivered (usually challenge from node that accepted the connection).

I'm preparing a testcase which will help to reproduce this bug.

OS: Ubuntu 16.10: Linux 4.8.0-41-generic SMP x86_64

@paulperegud
Copy link
Author

demo that reproduces the bug:
https://github.com/paulperegud/pydevp2p-packet-loss

To run it execute:

kill $(jobs -p); reset; for i in {0..10}; do sleep 0.5; python simplehandshake/app.py -l :error run $i & done

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