Commit 07240f2
authored
chore: Release litep2p version 0.8.1 (#288)
## [0.8.1] - 2024-11-14
This release includes key fixes that enhance the stability and
performance of the litep2p library, focusing on long-running stability
and improvements to polling mechanisms.
### Long Running Stability Improvements
This issue caused long-running nodes to reject all incoming connections,
impacting overall stability.
Addressed a bug in the connection limits functionality that incorrectly
tracked connections due for rejection.
This issue caused an artificial increase in inbound peers, which were
not being properly removed from the connection limit count.
This fix ensures more accurate tracking and management of peer
connections [#286](#286).
### Polling implementation fixes
This release provides multiple fixes to the polling mechanism, improving
how connections and events are processed:
- Resolved an overflow issue in TransportContext's polling index for
streams, preventing potential crashes.
- Fixed a delay in the manager's `poll_next` function that prevented
immediate polling of newly added futures.
- Corrected an issue where the listener did not return Poll::Ready(None)
when it was closed, ensuring proper signal handling.
### Fixed
- manager: Fix connection limits tracking of rejected connections
([#286](#286))
- transport: Fix waking up on filtered events from `poll_next`
([#287](#287))
- transports: Fix missing Poll::Ready(None) event from listener
([#285](#285))
- manager: Avoid overflow on stream implementation for
`TransportContext`
([#283](#283))
- manager: Log when polling returns Ready(None)
([#284](#284))
cc @paritytech/networking
---------
Signed-off-by: Alexandru Vasile <[email protected]>1 parent 40ea4ea commit 07240f2
3 files changed
+30
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
8 | 36 | | |
9 | 37 | | |
10 | 38 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments