Open Bug 2079448 Opened 1 month ago Updated 1 month ago

Use neqo's per-datagram queue charge for WebTransport datagram credit instead of a mirrored constant

Categories

(Core :: DOM: Networking, task, P2)

task

Tracking

()

People

(Reporter: jesup, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

kDatagramQueueOverhead in dom/webtransport/shared/DatagramCredit.h mirrors neqo's private PER_DATAGRAM_OVERHEAD (bug 2079425). Once neqo exposes it in DatagramQueueCapacity (https://github.com/mozilla/neqo/issues/4055), pass it through neqo_http3conn_webtransport_datagram_queue_capacity and GetDatagramQueueCapacity to WebTransportParent, send it to content with the DatagramCapacity grant, and use it on both sides instead of the constant. The HTTP/2 path counts payload bytes and can report 0.

Blocks: WebTransport
Severity: -- → S3
Priority: -- → P2
Whiteboard: [necko-triaged]
You need to log in before you can comment on or make changes to this bug.