Closed dgrr closed 4 years ago
It's hard for me to reason about this as I have no idea what kind of changes would be required to the code. Would a subpackage and making Server.tlsConfig public be enough? What would the interface for this subpackage be?
Okay. I created new repository to implement HTTP/2 protocol and to be compatible with your fork @erikdubbelboer
Ok I added myself as Watcher so I can see your commits.
Hello,
I am developing HTTP/2 for fasthttp a week ago and I am finding some troubles. My implementation consists of integrating HTTP/2 protocol inside fasthttp and making user choose if he/she wants HTTP/2 enabled or not by using boolean var in Server. All goes well until now... To make this implementation possible I do the following:
At this point I am confused with the current implementation. I want to reuse all the code as much as I can but I see that the best way to make HTTP/2 possible in fasthttp is by making a new package (or subpackage) implementing this protocol (as net/http has) or making a radical change of the library.
There are two ways:
What do you think or what do you prefer?