cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: Why is curl slow in reading a </html>less page?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 25 Mar 2001 16:32:48 +0200 (MET DST)

On Sun, 25 Mar 2001, Mohamed LRHAZI wrote:

> Did you ever come across this situation where the web server sends an
> HTML page without <html> </html>, and curl just takes a long while
> (25seconds) to finaly return?

No, I have never experienced that.

> Does curl realy wait for </html>?

Nope. curl has no clue about the actual contents that it transfers.

> When I use MSIE or opera or netscape, the page displays immidiatly.
>
> Any idea how to avoid this waiting? setting the read_timeout doesnt seem
> to be the way, since when I try it the read seems to get canceled!

Can you show us a URL that makes this happen? Can you also please tell us
what curl version and operating system you're using?

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
_______________________________________________
Curl-and-php mailing list
Curl-and-php_at_lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/curl-and-php
Received on 2001-03-25