Both proto::Endpoint.transmits and and quinn::Endpoint.outgoing queue transmit packets, and in drive send both queues are fetched and drained while this isn't required (from what I can tell). This PR removes the outgoing queue in quinn::Endpoint and simplifies it to only use proto::Endpoint.transmits for all outgoing packets.
This should remove redundant copying of transmits, and queue allocations.
Both
proto::Endpoint.transmits
and andquinn::Endpoint.outgoing
queue transmit packets, and indrive send
both queues are fetched and drained while this isn't required (from what I can tell). This PR removes theoutgoing
queue inquinn::Endpoint
and simplifies it to only useproto::Endpoint.transmits
for all outgoing packets.This should remove redundant copying of transmits, and queue allocations.
left: before, right: this PR