Am 10.07.2017 um 18:08 schrieb Daniel Barboza Vieira:

Hello!

When HTTP2 will be merged to master?

I'm trying to use the vibe.d ~http2-botan version from dub.

I downloaded the repository,switched to branch http2-botan and when I tried to build it the compiler showed the following error:


C:\Tools\D\dmd2\windows\bin\..\..\src\phobos\std\conv.d(4452,9): Error: static assert  "Initializing an inner class requires a pointer to the outer class"


It would be very nice to use HTTP2 in my project from D.

Thanks

After vibe-core is out now, redesigning and separating out the HTTP
package will be the next big step. HTTP/2 support is part of this, but
unfortunately that branch cannot realistically be merged. Even if there
were no technical and legal doubts, it is now far too outdated to be
rebased/merged with the current development version.

Part of the reason was that the branch contained a large number of
unrelated or partially related changes, which resulted in a huge change
set and constant conflicts with the master branch. The "cleanup" branch
was the attempt to pick out individual changes until it was small enough
to handle, but only went so far.

So the new approach will be to redo the HTTP/2 implementation together
with a fresh look at the existing code. The current approach is not
ideal from a memory safety and memory usage perspective, and I hope to
be able to improve API robustness against accidental misuse, too.