[bug #67251] Don't reuse connection when retrying failed request

anonymous <[email protected]> Sat, 28 Jun 2025 06:13:33 -0400 (EDT)
Newsgroups gmane.comp.web.wget.general
Message-ID <[email protected]>
--8323329-1213991627-1751105613=:2595699
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline

Follow-up Comment #1, bug #67251 (group wget):=0A=0ARe 509 response, I was =
able to avoid that by adding the following option:=0Ahttp_keep_alive =3D of=
f=0ABut then I noticed another related issue, If the network interruption c=
auses=0Athe request to time out and the retry is started, but the dns looku=
p fails=0Abecause of the network interruption, future retries will all fail=
 even when=0Athe network interruption resolves:=0A=0AResolving $host ($host=
)... failed: Operation timed out.=0Awget: unable to resolve host address =
=E2=80=98$host=E2=80=99=0ARetrying.=0A...=0A=0AI am now adding `dns_cache =
=3D off` to see if this avoids that issue.=0A=0A=0A    ____________________=
___________________________________=0A=0AReply to this item at:=0A=0A  <htt=
ps://savannah.gnu.org/bugs/?67251>=0A=0A___________________________________=
____________=0AMessage sent via Savannah=0Ahttps://savannah.gnu.org/=0A
--8323329-1213991627-1751105613=:2595699
Content-Type: APPLICATION/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaF/ATQAKCRCqLAuaBUf3
Tur/AP4lCNK02VF7nR65YbNhh4s0OekuAURe/NHgiN0M/8gSUAD/ZxzOTxeOo0kD
J7/+Ri1tBkgciC99MvD/4uzJKYpOcwo=
=Kmm2
-----END PGP SIGNATURE-----

--8323329-1213991627-1751105613=:2595699--