Re: Stuck in poll on network disconnect
Date: Fri, 14 Jun 2019 04:30:57 +0000
On 6/13/19, 10:43 AM, "Daniel Stenberg" <daniel_at_haxx.se> wrote:
No, it rather seems that the Curl_speedcheck() function isn't doing what it's
supposed to do in your case but I have no idea why...
A debug build shows that we keep looping in easy_transfer()[1]. We're not stuck in
poll() as I initially thought.
I've created a PR [2] that fixes the problem and passes the unit tests. However,
I wasn't sure how to write a test case for such a problem. Also, I'm not sure if
that's the right spot to call Curl_speedcheck.
[1] https://github.com/curl/curl/blob/master/lib/easy.c#L603
[2] https://github.com/curl/curl/pull/4026
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-06-14