Open Bug 1818883 Opened 2 years ago Updated 1 years ago

Manage queue high water mark and responses to outgoing datagrams

Categories

(Core :: Networking: HTTP, defect, P2)

defect

Tracking

()

People

(Reporter: jesup, Unassigned)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [necko-triaged])

Per step 9 of the writeDatagrams procedure of the w3 spec, we should be resolving promises immediately if the queue size waiting to be sent is less than the high watermark, and resolving them when the datagram is sent otherwise. We'll have to inform the network stack of the HWM value and have it manage telling us when we should resolve the promise, OR have it just constantly report to us the queue depth (so we know if we should resolve immediately) and then tell us when each packet is sent (so we can resolve if we didn't before).

This is not a blocker for initial shipment of the API or Datagrams, IMO

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