(url-http-wait-for-headers-change-function): Revert previous
change. It lead to really slow loads.
This commit is contained in:
parent
697ebdb06b
commit
d23832a2cc
2 changed files with 3 additions and 2 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue