(url-http-wait-for-headers-change-function): Revert previous

change.  It lead to really slow loads.
This commit is contained in:
Lars Magne Ingebrigtsen 2010-10-04 21:34:35 +02:00
parent 697ebdb06b
commit d23832a2cc
2 changed files with 3 additions and 2 deletions

View file

@ -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 <rgm@gnu.org>

View file

@ -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