private-octopus / picoquic

Minimal implementation of the QUIC protocol
MIT License
540 stars 159 forks source link

If datagram is not ready, application may not be polled again #1478

Closed huitema closed 1 year ago

huitema commented 1 year ago

There are cases when the application receives a "prepare datagram" callback, but the available buffer is too small to send the next datagram. In theory, this does not matter, the application should be called again when the next packet is ready to send. But there are reports that the application sometimes waits a long time before receiving the next callback.

huitema commented 1 year ago

Fixed in PR #1479