Progress reports >100% file size during recursive downloads with HTTP/2
This happens only with HTTP/2 connections. Wget2 functions perfectly with HTTP/1.1
To reproduce:
- Find a local directory with a
index.html
file, and other files (for recursive download) - Run
nghttpd 8080 [key cert]
(I used the Wget2 tests certs) - Call
wget2 --no-check-certificate --progress bar -r https://0.0.0.0:8080/index.html
You will see the greater than 100% file sizes. Here is what I have at the end of a run downloading the wget2/tests directory:
0.0.0.0/.libs/test-w 3380% [==========================================================================================================================>] 8.61M 5.57MB/s.0.0.0/.deps/test-w 100% [==========================================================================================================================>] 6.08K 367.19KB/s
0.0.0.0/.libs/test-s 100% [==========================================================================================================================>] 257.28K 3.32MB/s
0.0.0.0/.libs/test-g 102% [==========================================================================================================================>] 261.28K 3.00MB/s
0.0.0.0/.libs/lt-tes 102% [==========================================================================================================================>] 256.80K 2.63MB/s
[Files: 163 Bytes: 31.39M [202.49MB/s] Redirects: 0 Todo: 0 ]