Open capiman opened 2 months ago
It is due to checking NGHTTP2_CLIENT_MAGIC. See here for checked string:
One need to use curl option --http2-prior-knowledge (and of course a curl which supports this).
(And I switched to latest master of nghttp2, but unsure if this is really needed. Before it was 1.61.0 or so)
I was able to compile nghttp2-asio together with the server example.
With additional debug output I see that http2_handler::start is called, when I connect to the example server. All the callbacks are set and finally 0 is returned (so seems no error happened). The connection is then just disconnected. I can do it again and again, and above sequence happens again.
But then nothing more happens. The callback are never called.
What would be the next function/method, which would be called? Where do I find the code which disconnects my established connection, because, perhaps then, I can see what fails?
There was earlier some --enable-asio-lib (or similar, in nghttp2). I assume this is not more needed? Could it be dependency on Boost? Which Boost version is known to be working, so I can just try this version?