hi, I've just checkout the latest version from SVN and discovered changes in wget's behavior when downloading files from one of our local web servers. wget loops and cannot get file.
[EMAIL PROTECTED]:/tmp$ wget 'http://disk.karelia.ru/?d=1&f=mikkena/Sanctuary/Psych.1x03.RUS.avi' --16:33:10-- http://disk.karelia.ru/?d=1&f=mikkena/Sanctuary/Psych.1x03.RUS.avi Resolving disk.karelia.ru... 10.0.11.15 Connecting to disk.karelia.ru|10.0.11.15|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 407926784 (389M) [video/x-msvideo] 16:33:10 (nan GB/s) - Connection closed at byte 0. Retrying. --16:33:10-- http://disk.karelia.ru/?d=1&f=mikkena/Sanctuary/Psych.1x03.RUS.avi Reusing existing connection to disk.karelia.ru:80. HTTP request sent, awaiting response... 200 OK Length: 407926784 (389M) [video/x-msvideo] 16:33:11 (nan GB/s) - Connection closed at byte 0. Retrying. --16:33:12-- (try: 2) http://disk.karelia.ru/?d=1&f=mikkena/Sanctuary/Psych.1x03.RUS.avi Reusing existing connection to disk.karelia.ru:80. HTTP request sent, awaiting response... 200 OK Length: 407926784 (389M) [video/x-msvideo] 16:33:12 (nan GB/s) - Connection closed at byte 0. Retrying. Previous svn checkout works fine (wget_20070625). Please see HTTP dumps of CURL, wget stable, wget from today's svn and wget 20070625 in the attachment. -- Roman Shiryaev IM: [EMAIL PROTECTED]
===OK==== CURL curl -O 'http://disk.karelia.ru/?d=1&f=mikkena/Sanctuary/Psych.1x03.RUS.avi' GET /?d=1&f=mikkena/Sanctuary/Psych.1x03.RUS.avi HTTP/1.1 User-Agent: curl/7.15.5 (i486-pc-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8c zlib/1.2.3 libidn/0.6.5 Host: disk.karelia.ru Accept: */* HTTP/1.1 200 OK Date: Sun, 15 Jul 2007 12:07:11 GMT Server: Apache/2.2.3 (Linux/SUSE) X-Powered-By: PHP/5.2.0 Set-Cookie: PHPSESSID=8dchrnjft8767ui5i75vgfmt62kp9n1v; path=/; HttpOnly Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: Pragma: no-cache Content-Length: 407926784 Content-Disposition: attachment; filename="Psych.1x03.RUS.avi" Accept-Ranges: bytes Content-Type: video/x-msvideo RIFF.uP.AVI ===OK==== wget (stable) $ /usr/bin/wget 'http://disk.karelia.ru/?d=1&f=mikkena/Sanctuary/Psych.1x03.RUS.avi' GET /?d=1&f=mikkena/Sanctuary/Psych.1x03.RUS.avi HTTP/1.0 User-Agent: Wget/1.10.2 Accept: */* Host: disk.karelia.ru Connection: Keep-Alive HTTP/1.1 200 OK Date: Sun, 15 Jul 2007 12:08:18 GMT Server: Apache/2.2.3 (Linux/SUSE) X-Powered-By: PHP/5.2.0 Set-Cookie: PHPSESSID=3ruvvsn68apr2enl4jpg4okan5k1ujk6; path=/; HttpOnly Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: Pragma: no-cache Content-Length: 407926784 Content-Disposition: attachment; filename="Psych.1x03.RUS.avi" Accept-Ranges: bytes Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: video/x-msvideo RIFF.uP.AVI ===FAILED==== wget (devel) $ wget 'http://disk.karelia.ru/?d=1&f=mikkena/Sanctuary/Psych.1x03.RUS.avi' HEAD /?d=1&f=mikkena/Sanctuary/Psych.1x03.RUS.avi HTTP/1.0 User-Agent: 'Mozilla/5.0' Accept: */* Host: disk.karelia.ru Connection: Keep-Alive HTTP/1.1 200 OK Date: Sun, 15 Jul 2007 12:08:55 GMT Server: Apache/2.2.3 (Linux/SUSE) X-Powered-By: PHP/5.2.0 Set-Cookie: PHPSESSID=du4cq47eg6o093kchh9e9dgp36p16q05; path=/; HttpOnly Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: Pragma: no-cache Content-Length: 407926784 Content-Disposition: attachment; filename="Psych.1x03.RUS.avi" Accept-Ranges: bytes Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: video/x-msvideo HEAD /?d=1&f=mikkena/Sanctuary/Psych.1x03.RUS.avi HTTP/1.0 User-Agent: 'Mozilla/5.0' Accept: */* Host: disk.karelia.ru Connection: Keep-Alive Cookie: PHPSESSID=du4cq47eg6o093kchh9e9dgp36p16q05 HTTP/1.1 200 OK Date: Sun, 15 Jul 2007 12:08:55 GMT Server: Apache/2.2.3 (Linux/SUSE) X-Powered-By: PHP/5.2.0 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: Pragma: no-cache Content-Length: 407926784 Content-Disposition: attachment; filename="Psych.1x03.RUS.avi" Accept-Ranges: bytes Keep-Alive: timeout=15, max=99 Connection: Keep-Alive Content-Type: video/x-msvideo HEAD /?d=1&f=mikkena/Sanctuary/Psych.1x03.RUS.avi HTTP/1.0 User-Agent: 'Mozilla/5.0' Accept: */* Host: disk.karelia.ru Connection: Keep-Alive Cookie: PHPSESSID=du4cq47eg6o093kchh9e9dgp36p16q05 HTTP/1.1 200 OK Date: Sun, 15 Jul 2007 12:08:57 GMT Server: Apache/2.2.3 (Linux/SUSE) X-Powered-By: PHP/5.2.0 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: Pragma: no-cache Content-Length: 407926784 Content-Disposition: attachment; filename="Psych.1x03.RUS.avi" Accept-Ranges: bytes Keep-Alive: timeout=15, max=98 Connection: Keep-Alive Content-Type: video/x-msvideo ===OK==== wget devel (previous svn checkout, wget_20070625.tar.bz2) GET /?d=1&f=mikkena/Sanctuary/Psych.1x03.RUS.avi HTTP/1.0 User-Agent: 'Mozilla/5.0' Accept: */* Host: disk.karelia.ru Connection: Keep-Alive HTTP/1.1 200 OK Date: Sun, 15 Jul 2007 12:21:43 GMT Server: Apache/2.2.3 (Linux/SUSE) X-Powered-By: PHP/5.2.0 Set-Cookie: PHPSESSID=ulptpifnrdd82o9nrme0qtvbvonp5rr1; path=/; HttpOnly Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: Pragma: no-cache Content-Length: 407926784 Content-Disposition: attachment; filename="Psych.1x03.RUS.avi" Accept-Ranges: bytes Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: video/x-msvideo RIFF.uP.AVI