Re: pear's Mail using smtp not working with cvs php

From: Date: Wed, 02 Oct 2002 19:38:54 +0000
Subject: Re: pear's Mail using smtp not working with cvs php
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-88887@lists.php.net to get a copy of this message
On 02/10/02, "Matt Haught" <haughtlists@hotmail.com> 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.

« previous php.dev (#88887) next »