On Thu, 10 Mar 2016, Inca R wrote:
I'm browsing the code to see where can I implement the direct http/2.
I found in http.c around line 1794 that the code calls ( under the case
CURL_HTTP_VERSION_2 ):
Curl_http2_init
Curl_http2_setup
But looking at Curl_http2_setup, I see there is a call to Curl_http2_init
again. Is this a correct flow ? Do we need to call init before setup ?
I think it is a mistake to call init before setup that we should clean up at
some point.
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html