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/
_______________________________________________
Mldonkey-bugs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/mldonkey-bugs