We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48a8e9d commit 9496b43Copy full SHA for 9496b43
protocols/identify/src/handler.rs
@@ -345,8 +345,12 @@ impl ConnectionHandler for Handler {
345
self.on_dial_upgrade_error(dial_upgrade_error)
346
}
347
ConnectionEvent::AddressChange(_)
348
- | ConnectionEvent::ListenUpgradeError(_)
349
- | ConnectionEvent::ProtocolsChange(_) => {}
+ | ConnectionEvent::ListenUpgradeError(_) => {}
+ ConnectionEvent::ProtocolsChange(_) => {
350
+ // TODO:
351
+ // 1. push protocol changes
352
+ // 2. store protocols locally and use it to answer next identify request
353
+ }
354
355
356
0 commit comments