Try to mitigate DNS failures when downloading stuff asynchronously
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 6 Feb 2012 01:13:24 +0000 (02:13 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 6 Feb 2012 01:13:24 +0000 (02:13 +0100)
commitb6ea20f39c292cb135656f6b014e087f25eaf682
treedf0a04d974b63bd219b63f506698ab3c6f01fc04
parente7bc51d012a620268da85763e8bc233a1132ff3b
Try to mitigate DNS failures when downloading stuff asynchronously

* url-queue.el (url-queue-setup-runners): New function that uses
`run-with-idle-timer' for extra asynchronicity.
(url-queue-remove-jobs-from-host): New function.
(url-queue-callback-function): Remove jobs from the same host if
connection failed.
lisp/url/ChangeLog
lisp/url/url-queue.el