cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: curl-library Digest, Vol 107, Issue 37

From: 志平林 <larry.lin_at_outlook.com>
Date: Tue, 15 Jul 2014 01:18:41 +0000

Hi Daniel,Thanks for you reply, I have ported spdylay to libcurl and enabled multiplexing.But the test results of spdy performance is not good here.The persistent connection is not reliable, sometimes it will be dead.Especially when client process is killed, while server wasn't informed, then the next new connection could face connection timeout, which costs lots of time.
Thanks> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 14 Jul 2014 17:20:35 +0200 (CEST)
> From: Daniel Stenberg <daniel_at_haxx.se>
> To: libcurl development <curl-library_at_cool.haxx.se>
> Subject: Re: How does libcurl maintain persistent connection for
> HTTP2.0
> Message-ID: <alpine.DEB.2.00.1407141718430.7272_at_tvnag.unkk.fr>
> Content-Type: text/plain; charset="gb2312"; Format="flowed"
>
> On Mon, 14 Jul 2014, 志平林 wrote:
>
> > I am using the latest libcurl 7.37.0 with HTTP2.0 enabled.I wonder if
> > libcurl will leave the connection open even after all the HTTP requests have
> > been performed.
>
> Yes, libcurl does that by default for all HTTP connections.
>
> > And what's the policy for libcurl to maintain HTTP2.0 or SPDY connection?
>
> libcurl has no SPDY support, but it will keep HTTP/2 connections around after
> use in its connection pool just like for all other protocols.
>
> So far, we have no multiplexing implemented in libcurl so each new HTTP2
> connection will be a real tcp connection with a single stream.
>
> --
>
> / daniel.haxx.se
>

                                               

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-07-15