#625983 wget closes connection on a 416 responce

Package:
wget
Source:
wget
Description:
retrieves files from the web
Submitter:
Goswin von Brederlow
Date:
2011-07-24 05:27:11 UTC
Severity:
normal
#625983#5
Date:
2011-05-07 15:18:56 UTC
From:
To:
Hi,

wget closes the connection after every 416 responce. For example I do

wget http://localhost/file1 http://localhost/file2

then wget sends:

GET /debian/dists/sid/Release HTTP/1.0
Range: bytes=151784-
User-Agent: Wget/1.12 (linux-gnu)
Accept: */*
Host: localhost
Connection: Keep-Alive

I then reply with:

HTTP/1.1 416 Requested Range Not Satisfiable
Date: Sat, 07 May 2011 15:10:58 GMT
Server: Apache/2.2.9 (Debian) DAV/2
Connection: Keep-Alive
Keep-Alive: timeout=15, max=498
Content-Length: 0

and wget closes the connection instead of sending the next request.

MfG
	Goswin

#625983#10
Date:
2011-07-23 10:13:16 UTC
From:
To:
tags 625983 + upstream
forwarded 625983 https://savannah.gnu.org/bugs/index.php?33832
thanks

Hello Goswin,

Am Samstag, den 07.05.2011, 17:18 +0200 schrieb Goswin von Brederlow:

thx for your report. I forwarded it to the upstream authors.

#625983#19
Date:
2011-07-23 10:11:39 UTC
From:
To:
URL:
  <http://savannah.gnu.org/bugs/?33832>

                 Summary: wget closes connection on a 416 response
                 Project: GNU Wget
            Submitted by: nok
            Submitted on: Sa 23 Jul 2011 12:11:39 CEST
                Category: Protocol Issue
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name:
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.12
        Operating System: GNU/Linux
         Reproducibility: None
           Fixed Release: None
         Planned Release: None
              Regression: None
           Work Required: None
          Patch Included: None