[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/with-url dbc317f 2/8: Fix syntax error in with-url
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] scratch/with-url dbc317f 2/8: Fix syntax error in with-url rework |
Date: |
Sun, 22 Jan 2017 00:29:33 +0000 (UTC) |
branch: scratch/with-url
commit dbc317f8d3501853c5fdbf619448829d432eee99
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Fix syntax error in with-url rework
---
lisp/url/url-queue.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lisp/url/url-queue.el b/lisp/url/url-queue.el
index 6a88221..5f70367 100644
--- a/lisp/url/url-queue.el
+++ b/lisp/url/url-queue.el
@@ -125,13 +125,14 @@ The variable `url-queue-timeout' sets a timeout."
(setq url-queue (delq job url-queue))
(when (and (url-errorp)
;; FIXME: Push the connection failed status to the status
- ;;(eq (cadr (cadr status)) 'connection-failed)
- )
+ (eq (url-status 'response) 500))
;; If we get a connection error, then flush all other jobs from
;; the host from the queue. This particularly makes sense if the
;; error really is a DNS resolver issue, which happens
;; synchronously and totally halts Emacs.
- (url-queue-remove-jobs-from-host (url-host (url-generic-parse-url job))))
+ (url-queue-remove-jobs-from-host (url-host
+ (url-generic-parse-url
+ (url-queue-url job)))))
(url-queue-run-queue)
(apply (url-queue-callback job) (url-queue-cbargs job)))
- [Emacs-diffs] scratch/with-url updated (f74e07b -> 9d2e1e3), Lars Ingebrigtsen, 2017/01/21
- [Emacs-diffs] scratch/with-url dbc317f 2/8: Fix syntax error in with-url rework,
Lars Ingebrigtsen <=
- [Emacs-diffs] scratch/with-url 5bd8812 4/8: Make :wait case actually work., Lars Ingebrigtsen, 2017/01/21
- [Emacs-diffs] scratch/with-url 495cb41 1/8: Handle the case where the peer drops connection with no Content-Length, Lars Ingebrigtsen, 2017/01/21
- [Emacs-diffs] scratch/with-url 3ee6d63 3/8: Rework for with-url, Lars Ingebrigtsen, 2017/01/21
- [Emacs-diffs] scratch/with-url 724b285 6/8: Always kill the buffer, even when ignoring errors, Lars Ingebrigtsen, 2017/01/21
- [Emacs-diffs] scratch/with-url be65731 7/8: Allow specifying that redirects should not be followed, Lars Ingebrigtsen, 2017/01/21
- [Emacs-diffs] scratch/with-url 8ff9bd5 5/8: Remove unused parameter, Lars Ingebrigtsen, 2017/01/21
- [Emacs-diffs] scratch/with-url 9d2e1e3 8/8: Increase timeouts not that progress is more ensured, Lars Ingebrigtsen, 2017/01/21