[bug #67251] Don't reuse connection when retrying failed request
anonymous <[email protected]> Fri, 27 Jun 2025 07:47:26 -0400 (EDT)
| Newsgroups | gmane.comp.web.wget.general |
|---|---|
| Message-ID | <[email protected]> |
--8323329-1742968684-1751024846=:1512916
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline
URL:=0A <https://savannah.gnu.org/bugs/?67251>=0A=0A Summa=
ry: Don't reuse connection when retrying failed request=0A =
Group: GNU Wget=0A Submitter: None=0A Submitt=
ed: Fri 27 Jun 2025 11:47:16 AM UTC=0A Category: Program Log=
ic=0A Severity: 3 - Normal=0A Priority: 5 - N=
ormal=0A Status: None=0A Privacy: Public=
=0A Assigned to: None=0A Originator Name:=0A Ori=
ginator Email:=0A Open/Closed: Open=0A Discussion Lock:=
Any=0A Release: None=0A Operating System: None=0A =
Reproducibility: Every Time=0A Fixed Release: None=0A =
Planned Release: None=0A Regression: None=0A Wor=
k Required: None=0A Patch Included: None=0A=0A=0A _____________=
__________________________________________=0A=0AFollow-up Comments:=0A=0A=
=0A-------------------------------------------------------=0ADate: Fri 27 J=
un 2025 11:47:16 AM UTC By: Anonymous=0AFound another user experiencing sam=
e issue, but the report from 2020 never=0Amade it upsteam:=0A https://bu=
gs.debian.org/cgi-bin/bugreport.cgi?bug=3D952715=0A=0AWhen a request is ret=
ried because of a network interruption, on some servers I=0Awill repeatedly=
encounter a 509 on retry. (I believe the 509 in this case=0Ashould be inte=
rpreted as a 429 to indicate too many concurrent requests.) If I=0Akill the=
retrying wget and run it again, the request has no issues. I believe=0Athe=
issue is because wget is reusing the connection from the initial failed=0A=
request to issue the request for the retry. =0A=0A2025-06-24 21:16:31 (24.5=
KB/s) - Read error at byte 2915022/2163235=0A(Operation timed out). Retryi=
ng.=0A=0A--2025-06-24 21:16:52-- (try: 2) $url=0AConnecting to $host ($ho=
st)|$ip:$port... connected.=0AHTTP request sent, awaiting response... 509=
=0ARetrying.=0A...=0A=0AMy settings from .wgetrc:=0Acontinue =3D on=0Atimeo=
ut =3D 30=0Atries =3D 0=0Awaitretry =3D 30=0Await =3D 2.5=0Arandom-wait =3D=
on=0Aretry-connrefused =3D on=0Aretry-on-host-error =3D on=0A=0A$ wget --v=
ersion=0AGNU Wget 1.25.0 built on darwin20.6.0.=0A=0A-cares +digest -gpgme =
+https +ipv6 +iri +large-file -metalink +nls=0A+ntlm +opie +psl +ssl/gnutls=
=0A=0A=0A=0A=0A=0A=0A=0A _______________________________________________=
________=0A=0AReply to this item at:=0A=0A <https://savannah.gnu.org/bugs/=
?67251>=0A=0A_______________________________________________=0AMessage sent=
via Savannah=0Ahttps://savannah.gnu.org/=0A
--8323329-1742968684-1751024846=:1512916
Content-Type: APPLICATION/pgp-signature; name=signature.asc
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaF6EzgAKCRCqLAuaBUf3
Tk3kAQDFWneQ7ZeeIC5BKbCTvry1mj3XVVyh3JVdx9plHazRkAD/TGiWuY1CKj7A
HY+as808uxVxqVGOxeZBpp7e7fuhyg4=
=3cFM
-----END PGP SIGNATURE-----
--8323329-1742968684-1751024846=:1512916--