[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-bugs] [bug #12672] MLDonkey ignores 404 GWebCache return code
From: |
Amorphous |
Subject: |
[Mldonkey-bugs] [bug #12672] MLDonkey ignores 404 GWebCache return code |
Date: |
Mon, 25 Apr 2005 13:38:58 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050324 Debian/1.7.6-1 |
Follow-up Comment #1, bug #12672 (project mldonkey):
This one needs a bit of work.
I think this needs to be done:
-A new function shoud be added in http_client, similar to wget to that
additionaly is passed a function to call on failure. this function gets
passed a bool called permanent. If permanent is true the failure is assumed
to be permanent otherwise a retry after some reasonable time should happen.
For example the http return-code 404 is to be assumed permanent. Most other
failures i think should be non-permanent (i'm not sure about 403), perhaps
the http spec. has something to say about this.
-Use this new function to handle the webcaches and if a permanent failure
occurs remove the webcache from the list.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=12672>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/