Hrvoje Niksic                                                      
                     
                    <hniksic@arsdigita        To:     Wget List <[EMAIL PROTECTED]>      
                     
                    .com>                     cc:                                      
                     
                    Sent by:                  Subject:     Re: windows, continue bug   
                     
                    [EMAIL PROTECTED]                                                 
                     
                    sdigita.de                                                         
                     
                                                                                       
                     
                                                                                       
                     
                    07/05/01 20:06                                                     
                     
                                                                                       
                     
                                                                                       
                     







[EMAIL PROTECTED] writes:

> http_loop calls gethttp() at line 1539, but the following is only
> at line 1554:
>
> if( opt.always_rest )
>     hstat.no_truncate = file_exists_p(locf);
>
> Moving these two lines *above* the call to gethttp() on line 1554,
> the file was downloaded correctly.

How are you guys getting this?  The latest source from the CVS should
look different, and should in fact work.

(I've just applied another fix, this time a small optimization.)
-------------------------------- end quoted ----------------------------

I don't know about Heiko, but I got the sources from the CVS shortly after
he posted his "windows, continue bug" message to the list.

It seems to me that your "fix" doesn't work. Compiling and running (a CVS
checkout around 9:30 BST, +0100) on both OS/2 (gcc) and windows (watcom)
produced this:

------------------------->8----------------------------
DEBUG output created by Wget 1.7-dev on os2-emx.

parseurl ("http://some.random.com/";) -> host some.random.com -> opath  -> dir  -> file 
 -> ndir
newpath: /
--11:09:30--  http://some.random.com/
           => `index.html'
Connecting to some.random.com:80... Caching some.random.com <-> 10.1.1.9
Created fd 3.
connected!
---request begin---
GET / HTTP/1.0

User-Agent: Wget/1.7-dev

Host: some.random.com

Accept: */*

Connection: Keep-Alive



---request end---
HTTP request sent, awaiting response... HTTP/1.1 200 OK
Date: Tue, 08 May 2001 10:09:28 GMT
Server: Apache/1.3.14 (Unix) PHP/4.0.4pl1
X-Powered-By: PHP/4.0.4pl1
Connection: close
Content-Type: text/html



    The file is already fully retrieved; nothing to do.

Closing fd 3
------------------------->8----------------------------

Note: the file was *NOT* retrieved before.

--
Csaba R�duly, Software Engineer                     Sophos Anti-Virus
email: [EMAIL PROTECTED]                  http://www.sophos.com
US support: +1 888 SOPHOS 9               UK Support: +44 1235 559933


Reply via email to