cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: http/2 GET occasional hang

From: Francisco Moraes <francisco.moraes_at_gmail.com>
Date: Mon, 7 Dec 2015 09:55:12 -0500

On 12/4/2015 10:43 AM, Tatsuhiro Tsujikawa wrote:
> Hi,
>
> On Fri, Dec 4, 2015 at 4:44 AM, Francisco Moraes
> <francisco.moraes_at_gmail.com <mailto:francisco.moraes_at_gmail.com>> wrote:
>
> I am still seeing this issue but I believe it only occurs when the
> Content-Length header is not present. My attempts to recreate the
> issue when the Content-Length header is present never hit the issue.
>
> Can you attempt to recreate with the server not sending the
> Content-Length in the response? I can usually see a hang when
> repeating the command in a loop. It takes about 1 minute for the
> connection to be closed even though the last DATA frame was
> properly marked with END_STREAM flag.
>
> Let me know if there is anything I can do to help recreate it.
>
>
> ‚Äč Could you try the attached patch? It fixes this issue for me.
>
>
I've just tried the patch (sorry, was out of the office on Friday) and
the issue is not happening anymore after 1000 sequential transfers.

Francisco

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