nitely / nim-hyperx

Pure Nim http2 client and server 🖖
MIT License
23 stars 0 forks source link

to-do list #1

Open nitely opened 3 months ago

nitely commented 3 months ago
nitely commented 1 week ago

Remove dispatcher-stream queue

It leads to code like this. It's limited to 1 single element anyway. Increasing the limit has never show any improvement.

It should be replaced by something like ValueAsync (but using just 2 future vars). But the value needs to be consumed before resuming. So if closed, the dispatcher can deal with the close error while waiting for the value to be consumed.