curl / Mailing Lists / curl-users / Single Mail
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: Overcoming curl Error 28

From: Michael Newman via curl-users <curl-users_at_cool.haxx.se>
Date: Sun, 29 Mar 2020 06:55:54 +0700

Thank you for the clear explanation. Now I understand transient.

I wrote a little loop that does what I want and, so far, seems to overcome the Error 28 problem.

Thanks again.

> On Mar 28, 2020, at 23:31, Daniel Stenberg <daniel_at_haxx.se> wrote:
>
> The man page explains what it is. It means the server needs to return an error code within the "transient" error range. An error that by definition might not happen again if you try again later. An error 28 is not that.
>
>> Is there some way to get curl to retry under these conditions
>
> There isn't. Jay has a PR going that *could* perhaps do it in the future but I'm not sure exactly where that's going. It seems we don't quite agree on what it should do or behave...
>
>> do I just have to put something in my shell script?
>
> For now that's the only thing you can do.

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-03-29