Hi,

Did a little research on current stable. It turns out, apache 
returns "connection: close" even if you request keep-alive - on 404.
So the fix I did to apt-cacher, is pretty simple and straightforward. Please 
note tho,that it probably should do that to all possible errors. But I leave 
that bit to author :)

So my patch is :

======

@@ -938,6 +938,9 @@
                     }
                 }

+               if ($code==404) {
+                       $concloseflag=1;
+               }

========

apt-cacher is used by quite few debian mirrors,and certainly this bug do not 
help debian to get good PR among users of those mirrors. So I hope author can 
either use my fix as a temporary "better than nothing", or will come up with 
bit better handling of this case. 

Thanks.


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

Reply via email to