[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 97/411: curl: in retry output don't call all problems "transient
From: |
gnunet |
Subject: |
[gnurl] 97/411: curl: in retry output don't call all problems "transient" |
Date: |
Wed, 13 Jan 2021 01:18:32 +0100 |
This is an automated email from the git hooks/post-receive script.
nikita pushed a commit to branch master
in repository gnurl.
commit 6ecb63e493fd64855961758ca1b448d03f59a16b
Author: Daniel Stenberg <daniel@haxx.se>
AuthorDate: Sat Sep 5 15:46:55 2020 +0200
curl: in retry output don't call all problems "transient"
... because when --retry-all-errors is used, the error isn't necessarily
transient at all.
Closes #5916
---
src/tool_operate.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/tool_operate.c b/src/tool_operate.c
index 517ad1f62..39200dcd2 100644
--- a/src/tool_operate.c
+++ b/src/tool_operate.c
@@ -512,10 +512,10 @@ static CURLcode post_per_transfer(struct GlobalConfig
*global,
static const char * const m[]={
NULL,
"(retrying all errors)",
- "timeout",
- "connection refused",
- "HTTP error",
- "FTP error"
+ ": timeout",
+ ": connection refused",
+ ": HTTP error",
+ ": FTP error"
};
sleeptime = per->retry_sleep;
@@ -529,7 +529,7 @@ static CURLcode post_per_transfer(struct GlobalConfig
*global,
sleeptime = (long)retry_after * 1000; /* milliseconds */
}
}
- warnf(config->global, "Transient problem: %s "
+ warnf(config->global, "Problem %s. "
"Will retry in %ld seconds. "
"%ld retries left.\n",
m[retry], sleeptime/1000L, per->retry_numretries);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnurl] 99/411: build: drop support for building with Watcom, (continued)
- [gnurl] 99/411: build: drop support for building with Watcom, gnunet, 2021/01/12
- [gnurl] 108/411: cmake: make HTTP_ONLY also disable MQTT, gnunet, 2021/01/12
- [gnurl] 100/411: curl:parallel_transfers: make sure retry readds the transfer, gnunet, 2021/01/12
- [gnurl] 95/411: tests: Add tests for new --help, gnunet, 2021/01/12
- [gnurl] 75/411: win32: drop support for WinSock version 1, require version 2, gnunet, 2021/01/12
- [gnurl] 92/411: RELEASE-NOTES: synced, gnunet, 2021/01/12
- [gnurl] 116/411: libtest: fix build errors, gnunet, 2021/01/12
- [gnurl] 109/411: FAQ: refreshed some very old language, gnunet, 2021/01/12
- [gnurl] 90/411: CMake: remove explicit `CMAKE_ANSI_CFLAGS`, gnunet, 2021/01/12
- [gnurl] 76/411: telnet.c: depend on static requirement of WinSock version 2, gnunet, 2021/01/12
- [gnurl] 97/411: curl: in retry output don't call all problems "transient",
gnunet <=
- [gnurl] 79/411: schannel: make it 'struct Curl_schannel*', gnunet, 2021/01/12
- [gnurl] 88/411: scripts/delta: add diffstat summary, gnunet, 2021/01/12
- [gnurl] 117/411: lib583: fix enum mixup, gnunet, 2021/01/12
- [gnurl] 114/411: RELEASE-NOTES: synced, gnunet, 2021/01/12
- [gnurl] 120/411: base64: also build for pop3 and imap, gnunet, 2021/01/12
- [gnurl] 89/411: libssh2: pass on the error from ssh_force_knownhost_key_type, gnunet, 2021/01/12
- [gnurl] 119/411: base64: enable in build with SMTP, gnunet, 2021/01/12
- [gnurl] 122/411: http: consolidate nghttp2_session_mem_recv() call paths, gnunet, 2021/01/12
- [gnurl] 115/411: lib: fix -Wassign-enum warnings, gnunet, 2021/01/12
- [gnurl] 118/411: curl_mime_headers.3: fix the example's use of curl_slist_append, gnunet, 2021/01/12