http2
http2 copied to clipboard
How to get rid of the channels while being thread-safe?
Yes, that's quite a challenge. I don't want to use channels, but how do you keep being thread-safe then? The main problem is that you can't serialize 2 requests at the same time, because one might modify the table and the other should apply those changes...
I'll need to investigate how nghttp2 does those kind of things.
It's called one thread. If we have multiple threads, looks like there's no way to get rid of channels.