Open
Description
Describe the feature
the sink impl for
reth/crates/net/eth-wire/src/multiplex.rs
Lines 579 to 585 in bcf4f1b
has a smol flaw that could potentially starve rlpx satellite impls.
because this will always bypass the satellite messages that are currently buffered
reth/crates/net/eth-wire/src/multiplex.rs
Lines 587 to 600 in bcf4f1b
to fix this we should move the sink logic embedded in the stream impl into the sink impl
reth/crates/net/eth-wire/src/multiplex.rs
Lines 469 to 479 in bcf4f1b
this way poll_ready should always drain the output buffer of satellite msgs first treating all messages fcfs
FYI @0xvanbeethoven @Will-Smith11
Additional context
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Backlog