Otavio Salvador <[EMAIL PROTECTED]> writes:

> Is your server public available running lighttpd? If it's, I can hack
> it and check where the problem is and fix it for next upload.

I've done a brief look and spot a possible issue that I'd like you to
try it. Apply this patch and check if it does work:

Steps to apply it (if you doesn't know how to do):

 - copy and paste this in a file
 - go inside apt source code
 - use: patch -p0 < filename
 - use: dpkg-buildpackage -us -uc
 - install the resulting apt package and test

=== modified file 'methods/https.cc'
--- methods/https.cc    2007-10-05 05:48:13 +0000
+++ methods/https.cc    2007-12-17 22:10:17 +0000
@@ -185,7 +185,7 @@
              TimeRFC1123(SBuf.st_mtime).c_str());
       headers = curl_slist_append(headers, Buf);
    }
-   else if(Itm->LastModified > 0)
+   else if(Itm->LastModified != 0)
    {  
       curl_easy_setopt(curl, CURLOPT_TIMECONDITION, CURL_TIMECOND_IFMODSINCE);
       curl_easy_setopt(curl, CURLOPT_TIMEVALUE, Itm->LastModified);


-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: [EMAIL PROTECTED]      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
 you the whole house."



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to