Skip to main content

note_fetch_order

Function note_fetch_order 

Source
fn note_fetch_order(outgoing: &[u8], ctx: &ForwardCtx)
Expand description

File the Group Order a FETCH asked for, from the bytes leaving the proxy.

For the mutating pipe, where the frame the hook returned is the one the peer receives and therefore the one that settles the response’s order. It is decoded a second time here for that reason alone: the message decoded on the way in is what arrived, and on this pipe those are allowed to differ. Bytes the hook returned that no longer decode file nothing, and the stream they were about is bypassed rather than read against an order the publisher never agreed to.