You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today the request response NetworkBehaviour might not always emit an InboundFailure for all inbound requests that failed to be answered. More specifically in case the connection to the peer closes after RequestResponse::send_response has been called the response will be dropped but no InboundFailure event will be emitted.
Consider tracking inbound requests in the NetworkBehaviour in order to be able to detect the above scenario and emit an InboundFailure::ConnectionClosed event.
The text was updated successfully, but these errors were encountered:
Today the request response
NetworkBehaviour
might not always emit anInboundFailure
for all inbound requests that failed to be answered. More specifically in case the connection to the peer closes afterRequestResponse::send_response
has been called the response will be dropped but noInboundFailure
event will be emitted.rust-libp2p/protocols/request-response/src/lib.rs
Lines 143 to 152 in 7985c81
Also see paritytech/substrate#7696 (comment).
Consider tracking inbound requests in the
NetworkBehaviour
in order to be able to detect the above scenario and emit anInboundFailure::ConnectionClosed
event.The text was updated successfully, but these errors were encountered: