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: show the URL in the error message?

From: Alex Bligh via curl-users <>
Date: Mon, 16 Nov 2020 03:34:45 +0100

> On 15 Nov 2020, at 23:39, Daniel Stenberg via curl-users <> wrote:
> A. Should we really add the URL in all error messages unconditionally? (Consistency could be one reason to favor it.)
> B. Should we add a new option for this, that enables it by default for parallel mode and is disabled by default otherwise?
> C. Can we do better?

Using the URL to disambiguate error messages sounds suboptimal given multiple requests could be made to the same URL (e.g. POSTs). How about, if there are multiple requests, adding "[Request n]" to the error message?

Alex Bligh
Received on 2020-11-16