]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix old problem with HTTPS HTTP 0.9 sentinels
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 24 Sep 2019 07:57:57 +0000 (09:57 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 24 Sep 2019 08:01:34 +0000 (10:01 +0200)
* 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

index bfc106c2a5c2cad71eaf30c356fe4991c5b8d947..a6963cef70136d8a059571b923695a92e5b25189 100644 (file)
@@ -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))))))