Skip to content

curl progress content confused after retrying #23498

Closed

Description

@Fd929c2CE5fA

I did this

After a retiring, the curl progress quickly became unreadable, and the data was incorrectly doubled.

DL% UL%  Dled  Uled  Xfers  Live Total     Current  Left    Speed
 23 --  6186M     0     1     1  06:22:16 00:19:34 04:54:07 1197k      curl: (56) OpenSSL SSL_read: OpenSSL/4.0.3: error:0A000126:SSL routines::unexpected eof while reading, errno 0
Warning: Problem (retrying all errors). Retrying in 5 seconds. 50 retries left.
 46 --  12.0G     0     2     1           00:19:46              0      curl: (97) cannot complete SOCKS5 connection to example.com. (1)
Warning: Problem (retrying all errors). Retrying in 5 seconds. 49 retries left.
 69 --  18.1G     0     3     1           00:19:56              0      curl: (97) cannot complete SOCKS5 connection to example.com. (1)
Warning: Problem (retrying all errors). Retrying in 5 seconds. 48 retries left.
 92 --  24.1G     0     4     1           00:20:07              0      curl: (97) cannot complete SOCKS5 connection to example.com. (1)
Warning: Problem (retrying all errors). Retrying in 5 seconds. 47 retries left.
115 --  30.2G     0     5     1           00:20:19              0      curl: (97) cannot complete SOCKS5 connection to example.com. (1)
Warning: Problem (retrying all errors). Retrying in 5 seconds. 46 retries left.
138 --  36.2G     0     6     1           00:20:32              0      curl: (97) cannot complete SOCKS5 connection to example.com. (1)
Warning: Problem (retrying all errors). Retrying in 5 seconds. 45 retries left.
161 --  42.2G     0     7     1           00:20:44              0      curl: (97) cannot complete SOCKS5 connection to example.com. (1)
Warning: Problem (retrying all errors). Retrying in 5 seconds. 44 retries left.
184 --  48.3G     0     8     1           00:20:59              0      curl: (97) cannot complete SOCKS5 connection to example.com. (1)
Warning: Problem (retrying all errors). Retrying in 5 seconds. 43 retries left.
186 --  48.9G     0     9     1  01:54:37 00:23:42          3994k

I expected the following

  • The DL% progress will never exceed 100%
  • Dled should never exceed the actual file size
  • Left time is still displayed correctly after the retires
  • Higher readability with less confusion

curl/libcurl version

curl 8.23.0

operating system

N/A

Activity

  1. jay commented on Oct 20, 2026

    @jay
    Member

    Please include the command line with any personal information removed.

  2. Fd929c2CE5fA commented on Oct 20, 2026

    @Fd929c2CE5fA
    Author
    curl -L --retry 50 --retry-delay 5 --retry-all-errors --remove-on-error -Z --parallel-immediate --parallel-max 5 -x socks5h://proxy:1080 <url>
    
    curl -L --retry 50 --retry-delay 5 --retry-all-errors -C - -Z --parallel-immediate --parallel-max 5 -x socks5h://proxy:1080 <url>
  3. added a commit that references this issue on Oct 26, 2026
    64ee53b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions