On 02/10/02, "Matt Haught" <[EMAIL PROTECTED]> wrote:
> >250-haught.org (Read took 60.009819984436 seconds)

> It appears that fgets is where the problem is occuring.  Its taking over a
> minute.  Can anyone confirm?  I tried a server at mail.wvwc.edu and received
> the same sort of results.

The problem is that fgets is trying to be efficient by reading up the
maximum chunk size (defaults to 8192 bytes) on one go and then looking
for newlines.

As a workaround for anyone experiencing this problem, until I get a chance
to correct it, you can lower the timeout from 60 seconds using the new
default_socket_timeout ini option.

Thanks for your detailed report!

--Wez.



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to