From: Lars Ingebrigtsen Date: Tue, 24 Sep 2019 07:57:57 +0000 (+0200) Subject: Fix old problem with HTTPS HTTP 0.9 sentinels X-Git-Tag: emacs-27.0.90~1452 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1f137133ed6683f4ef9e37ac6a32d4545f59506d;p=emacs.git Fix old problem with HTTPS HTTP 0.9 sentinels * lisp/url/url-http.el (url-http-end-of-document-sentinel): Pass on the tls parameter if we have HTTPS (bug#14983). --- diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index bfc106c2a5c..a6963cef701 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el @@ -1024,7 +1024,9 @@ should be shown to the user." (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))))))