[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14983: 24.3.50; url-http-end-of-document-sentinel does not work with
From: |
Lars Ingebrigtsen |
Subject: |
bug#14983: 24.3.50; url-http-end-of-document-sentinel does not work with https |
Date: |
Tue, 24 Sep 2019 09:58:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Erik Hetzner <erik.hetzner@ucop.edu> writes:
> - (url-http url-current-object url-callback-function
> - url-callback-arguments (current-buffer)))))
> + (if (string= "https" (url-type url-current-object))
> + (url-https url-current-object url-callback-function
> + url-callback-arguments (current-buffer))
> + (url-http url-current-object url-callback-function
> + url-callback-arguments (current-buffer))))))
The code has changed in the meantime, so I applied the following patch
instead:
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el
index bfc106c2a5..a6963cef70 100644
--- a/lisp/url/url-http.el
+++ b/lisp/url/url-http.el
@@ -1024,7 +1024,9 @@ url-http-end-of-document-sentinel
(setq url-using-proxy
(url-generic-parse-url url-using-proxy)))
(url-http url-current-object url-callback-function
- url-callback-arguments (current-buffer)))))
+ url-callback-arguments (current-buffer)
+ (and (string= "https" (url-type url-current-object))
+ 'tls)))))
((url-http-parse-headers)
(url-http-activate-callback))))))
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#14983: 24.3.50; url-http-end-of-document-sentinel does not work with https,
Lars Ingebrigtsen <=