dgrr / http2

HTTP/2 implementation for fasthttp
Apache License 2.0
208 stars 35 forks source link

Dispatch RequestCtx in it's own coroutine #53

Open dgrr opened 2 years ago

dgrr commented 2 years ago

The main problem this lib has is that the dispatching of handlers is not performed in different coroutines, thus, the handleStreams coroutine blocks entirely until the handler finishes, which is not desirable.

hiqsociety commented 2 years ago

doing this will resolve the race condition?

so a complete code refactoring?