Sorry, the last patch didn't work if there was a loopback fetcher in place. This one appears to work. It only fixes the HTTP fetcher, though --- a similar fix is necessary for the FTP fetcher.
diff -u -r apt-proxy-1.9.31/apt_proxy/apt_proxy.py apt-proxy-1.9.31.patch/apt_proxy/apt_proxy.py --- apt-proxy-1.9.31/apt_proxy/apt_proxy.py 2005-05-20 21:54:42.000000000 +1000 +++ apt-proxy-1.9.31.patch/apt_proxy/apt_proxy.py 2005-08-09 09:56:36.820948195 +1000 @@ -601,6 +601,8 @@ self.http_status = self.status_code self.setResponseCode(self.status_code) + if (self.http_status != http.OK): + self.request.activateNextBackendServer(self) def handleHeader(self, key, value): @@ -625,7 +627,7 @@ if self.length == 0: self.setResponseCode(http.NOT_FOUND) # print "length: " + str(self.length), "response:", self.status_code - if self.http_status == http.NOT_MODIFIED: + if self.status_code == http.NOT_MODIFIED: self.apDataEnd(self.transfered, False) else: self.apDataEnd(self.transfered, True) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]