From d23832a2cc30f28e1d754fcd4a497c8ba7ca5b18 Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Mon, 4 Oct 2010 21:34:35 +0200 Subject: [PATCH] (url-http-wait-for-headers-change-function): Revert previous change. It lead to really slow loads. --- lisp/url/ChangeLog | 2 ++ lisp/url/url-http.el | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index 720f682d225..37a635e9906 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog @@ -2,6 +2,8 @@ * url-http.el (url-http-wait-for-headers-change-function): Protect against url-http-response-status for degenerate documents. + (url-http-wait-for-headers-change-function): Revert previous + change. It lead to really slow loads. 2010-10-03 Glenn Morris diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index 71de213b64b..1c9c8c8a3de 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el @@ -1054,8 +1054,7 @@ the end of the document." end-of-headers t) (url-http-clean-headers))) - (if (or (not end-of-headers) - (not url-http-response-status)) + (if (not end-of-headers) ;; Haven't seen the end of the headers yet, need to wait ;; for more data to arrive. nil -- 2.39.5