[curl/curl] 1a2068: progress: reset limit_size variables at transfer s...

Daniel Stenberg <[email protected]> Tue, 11 May 2021 07:33:13 -0700
Newsgroups gmane.comp.web.curl.cvs
Message-ID <curl/curl/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/curl/curl
  Commit: 1a20689a56af29871a88c338ea0da3268038312c
      https://github.com/curl/curl/commit/1a20689a56af29871a88c338ea0da3268038312c
  Author: Daniel Stenberg <[email protected]>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M lib/progress.c

  Log Message:
  -----------
  progress: reset limit_size variables at transfer start

Otherwise the old value would linger from a previous use and would mess
up the network speed cap logic.

Reported-by: Ymir1711 on github

Fixes #7042
Closes #7043


_______________________________________________
curl-commits mailing list
[email protected]
https://cool.haxx.se/cgi-bin/mailman/listinfo/curl-commits