cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Direct HTTP/2 on clear TCP ( h2c )

From: Inca R <incarose_at_gmail.com>
Date: Thu, 10 Mar 2016 16:36:36 -0800

Hi Daniel;
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 ?

Thanks

On Mon, Mar 7, 2016 at 3:13 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Mon, 7 Mar 2016, Inca R wrote:
>
> > Possibly we introduce an option that makes libcurl use HTTP/2 at once
>> over > http://
>>
>
> Is the "option" ready yet ?
>>
>
> Nope, no work has been done for that as far as I know. It's open for grabs!
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: https://cool.haxx.se/list/listinfo/curl-library
> Etiquette: https://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-03-11