private-octopus / picoquic

Minimal implementation of the QUIC protocol
MIT License
523 stars 153 forks source link

High level API for Web Transport #1616

Open huitema opened 5 months ago

huitema commented 5 months ago

The current model requires applications to do a lot of plumbing. Ideally, we should have a simple way to run the loop in a background thread, while providing a simple API to use the most important features from other threads in the application:

Adopting a simple queuing model would isolate implementations from the complexity of managing a packet loop.