Skip to content
Snippets Groups Projects
Unverified Commit 889364ed authored by paritytech-cmd-bot-polkadot-sdk[bot]'s avatar paritytech-cmd-bot-polkadot-sdk[bot] Committed by GitHub
Browse files

stable2412/backport #7222: Enforce libp2p outbound request-response timeout limits (#7302)


Backport #7222 into `stable2412` from lexnv.

See the
[documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md)
on how to use this bot.

<!--
  # To be used by other automation, do not modify:
  original-pr-number: #${pull_number}
-->

---------

Signed-off-by: default avatarAlexandru Vasile <alexandru.vasile@parity.io>
Co-authored-by: default avatarAlexandru Vasile <60601340+lexnv@users.noreply.github.com>
Co-authored-by: default avatarAlexandru Vasile <alexandru.vasile@parity.io>
parent c36fdaa5
No related merge requests found
title: Enforce libp2p outbound request-response timeout limits
doc:
- audience: Node Dev
description: |
This PR enforces that outbound requests are finished within the specified protocol timeout.
The stable2412 version running libp2p 0.52.4 contains a bug which does not track request timeouts properly
https://github.com/libp2p/rust-libp2p/pull/5429.
The issue has been detected while submitting libp2p to litep2p requests in Kusama.
This aims to check that pending outbound requests have not timed out.
Although the issue has been fixed in libp2p, there might be other cases where this may happen.
For example, https://github.com/libp2p/rust-libp2p/pull/5417.
For more context see https://github.com/paritytech/polkadot-sdk/issues/7076#issuecomment-2596085096.
crates:
- name: sc-network
bump: patch
This diff is collapsed.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment