Fix URL connection failing handling.
* url-http.el (url-http-find-free-connection): If there was an error on connect, make sure the user isn't bothered with irrelevant questions.
This commit is contained in:
parent
ef8ef9fb80
commit
ad87170ff3
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2011-09-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
|
||||
|
||||
* url-http.el (url-http-find-free-connection): If there was an
|
||||
error on connect, make sure the user isn't bothered with
|
||||
irrelevant questions.
|
||||
|
||||
2011-08-07 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* url-http.el (url-http-parse-headers): For HTTP 301/302/307,
|
||||
|
|
|
@ -180,6 +180,10 @@ request.")
|
|||
;; Drop the temp buffer link before killing the buffer.
|
||||
(set-process-buffer proc nil))
|
||||
proc)
|
||||
;; If there was an error on connect, make sure we don't
|
||||
;; get queried.
|
||||
(when (get-buffer-process buf)
|
||||
(set-process-query-on-exit-flag (get-buffer-process buf) nil))
|
||||
(kill-buffer buf)))))))
|
||||
|
||||
;; Building an HTTP request
|
||||
|
|
Loading…
Add table
Reference in a new issue