Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: Test 1061 flaky when run without valgrind
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Fabian Keil via curl-library <curl-library_at_cool.haxx.se>
Date: Sun, 10 Jan 2021 18:39:33 +0100
Fabian Keil via curl-library <curl-library_at_cool.haxx.se> wrote on 2021-01-09:
> Fabian Keil via curl-library <curl-library_at_cool.haxx.se> wrote on 2021-01-08:
>
> > using a curl binary built from git master 060658f634, test 1061
> > works reliably for me when valgrind is being used but is flaky
> > without it:
[...]
> The problem seems to be that curl is ignoring the authentication
> request.
The attached patch seems to work around the problem.
Busy-looping probably isn't the right solution, though.
> > I haven't executed the tests in a while so I'm not sure
> > if this is a new issue.
>
> This does not appear to be a new issue. I tried a couple of
> past releases stopping in 2019 and the problem was present
> there as well. Finally with curl-7_65_0 the test hangs instead
> of failing.
I suspect the problem was introduced in 5113ad04240444 in 2017.
Fabian
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html
Received on 2021-01-10
Date: Sun, 10 Jan 2021 18:39:33 +0100
Fabian Keil via curl-library <curl-library_at_cool.haxx.se> wrote on 2021-01-09:
> Fabian Keil via curl-library <curl-library_at_cool.haxx.se> wrote on 2021-01-08:
>
> > using a curl binary built from git master 060658f634, test 1061
> > works reliably for me when valgrind is being used but is flaky
> > without it:
[...]
> The problem seems to be that curl is ignoring the authentication
> request.
The attached patch seems to work around the problem.
Busy-looping probably isn't the right solution, though.
> > I haven't executed the tests in a while so I'm not sure
> > if this is a new issue.
>
> This does not appear to be a new issue. I tried a couple of
> past releases stopping in 2019 and the problem was present
> there as well. Finally with curl-7_65_0 the test hangs instead
> of failing.
I suspect the problem was introduced in 5113ad04240444 in 2017.
Fabian
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html
- text/x-patch attachment: 0001-CONNECT-try-again-if-the-socket-buffer-is-drained.patch
- application/pgp-signature attachment: OpenPGP digital signature