From: Lars Magne Ingebrigtsen Date: Mon, 4 Oct 2010 19:34:35 +0000 (+0200) Subject: (url-http-wait-for-headers-change-function): Revert previous X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~46^2~185 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d23832a2cc30f28e1d754fcd4a497c8ba7ca5b18;p=emacs.git (url-http-wait-for-headers-change-function): Revert previous change. It lead to really slow loads. --- 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