-
Notifications
You must be signed in to change notification settings - Fork 32
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
fix(rust): don't use failed identify messages to detect disconnection #93
base: main
Are you sure you want to change the base?
fix(rust): don't use failed identify messages to detect disconnection #93
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This comment was marked as outdated.
This comment was marked as outdated.
…fy' into feat/rust/ping-instead-of-identify
ping
for detecting disconnected peers
While working on this, I noticed a strange behaviour @libp2p/js-libp2p-dev. The |
Previously, we were using a timeout on the identify protocol to detect disconnected peers. Detecting closed browser tabs within the transport stack now works correctly so we no longer need this hack.
I tested this locally using the latest deployed version on vercel.app.