I find the last commit is 17 months ago.
And why not copy the http2 implement code from net/http ?
As pointed out here and the following comments, it's not a real advantage to develop HTTP/2 on fasthttp. First, fasthttp runs in most of the cases behind a reverse proxy, and common reverse proxies already support HTTP/2. And second, it isn't worth to create an HTTP/2 library only for the client. There's a lot of work to do to implement that library with fasthttp.
I personally think the best way would be to create a new library supporting http/2 and http/3, and maybe SPDY among other web-compatible protocols from the beginning.
I though multiple times to end the development in my spare time, but I have other priorities. As long as I do not work with APIs on a daily basis, and neither I have any client requiring HTTP/2. So it's not critical for me.
@benjamin-yin001 I'm in progress of testing http2 atm, but no ETA yet
@kirillDanshin, let us know if you need any help!
@Fenny thank you, I appreciate it. stay tuned for beta releases, http2 implementation will have to go through some public testing as well before we could cut a stable release
Hope that will come be soon.
Eagerly awaiting HTTP/2 support too :grin:. It'd be super useful in https://github.com/knative/serving!
@kirillDanshin, we really want to help. @ReneWerner87, @kiyonlin and I want to make a POC. We would like to know if we could access the beta version you talked about?
@Fenny you can go through the HTTP/2 library I started. I can review PRs and we can collaborate. As I said in previous comments, it's not a priority for me, but I can dedicate time if you have suggestions. In fact we can have a chat about the changes fasthttp would require to implement HTTP/2 correctly.
@dgrr our priority moved to https://github.com/valyala/fasthttp/issues/840 & https://github.com/valyala/fasthttp/issues/622 but running into complex problems 馃槥
@erikdubbelboer could you close this issue in favor of https://github.com/valyala/fasthttp/issues/144?
Most helpful comment
@benjamin-yin001 I'm in progress of testing http2 atm, but no ETA yet