URL: <https://savannah.gnu.org/bugs/?67251>
Summary: Don't reuse connection when retrying failed request Group: GNU Wget Submitter: None Submitted: Fri 27 Jun 2025 11:47:16 AM UTC Category: Program Logic Severity: 3 - Normal Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: None Operating System: None Reproducibility: Every Time Fixed Release: None Planned Release: None Regression: None Work Required: None Patch Included: None _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Fri 27 Jun 2025 11:47:16 AM UTC By: Anonymous Found another user experiencing same issue, but the report from 2020 never made it upsteam: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=952715 When a request is retried because of a network interruption, on some servers I will repeatedly encounter a 509 on retry. (I believe the 509 in this case should be interpreted as a 429 to indicate too many concurrent requests.) If I kill the retrying wget and run it again, the request has no issues. I believe the issue is because wget is reusing the connection from the initial failed request to issue the request for the retry. 2025-06-24 21:16:31 (24.5 KB/s) - Read error at byte 2915022/2163235 (Operation timed out). Retrying. --2025-06-24 21:16:52-- (try: 2) $url Connecting to $host ($host)|$ip:$port... connected. HTTP request sent, awaiting response... 509 Retrying. ... My settings from .wgetrc: continue = on timeout = 30 tries = 0 waitretry = 30 wait = 2.5 random-wait = on retry-connrefused = on retry-on-host-error = on $ wget --version GNU Wget 1.25.0 built on darwin20.6.0. -cares +digest -gpgme +https +ipv6 +iri +large-file -metalink +nls +ntlm +opie +psl +ssl/gnutls _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?67251> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature