emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 1f13713: Fix old problem with HTTPS HTTP 0.9 sentin


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 1f13713: Fix old problem with HTTPS HTTP 0.9 sentinels
Date: Tue, 24 Sep 2019 04:01:39 -0400 (EDT)

branch: master
commit 1f137133ed6683f4ef9e37ac6a32d4545f59506d
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    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).
---
 lisp/url/url-http.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el
index bfc106c..a6963ce 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))))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]