Await both the heartbeat request and shutdown channel in the heartbeat task #3254
Labels
A-network
Area: Network protocol updates or fixes
C-enhancement
Category: This is an improvement
C-security
Category: Security issues
I-hang
A Zebra component stops responding to requests
I-slow
Problems with performance or responsiveness
Motivation
We don't detect cancellations when we're waiting for a response from a peer, so this could cause hangs.
zebra/zebra-network/src/peer/handshake.rs
Lines 986 to 999 in 852c5d6
Specifications
Designs
Related Work
The text was updated successfully, but these errors were encountered: