It appears to be some kind of timeout that it is waiting for. 60 seconds tends
to be a timeout. Mabye it is trying to fill the full 2048, and waiting till the
timeout is past.
--
Scott Carr
OpenOffice.org
Documentation Maintainer
http://documentation.openoffice.org/
Quoting Matt Haught <[EMAI
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
Zitat von Matt Haught <[EMAIL PROTECTED]>:
> 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.
Confirmed.
Jan.
--
http://www.horde.org - The Horde Project
htt
I have made a little test script to see where the hang is occuring instead
of figuring out pear today:
";
echo '>' .fgets($fp, 2048);
$c = getmicrotime();
echo " (Read took " .($c-$b). " seconds)";
echo '< EHLO localhost';
fwrite($fp, "EHLO localhost\r\n");
$d = getmicrotime();
echo " (Write to
Zitat von Matt Haught <[EMAIL PROTECTED]>:
> I am trying to use pear's Mail functions to send email to my local smtp
> server (FreeBSD 4.4 using qmail-smtpd), but it sort of gets hung up when
> communicating with the smtp server. (I also tried a 2nd smtp server with
> the same hang). It can tak
The file that is suspect is pear/Net/SMTP.php
mailFrom()
rcptTo()
data()
These are the functions that could have the error. The lines that show
socket->write are where you should see '\r\n'.
--
Scott Carr
OpenOffice.org
Documentation Maintainer
http://documentation.openoffice.org/
Quoting Ma
I have seen in the past that the SMTP code loses \r\n as it's end lines. These
need to be present or you see this hang.
SMTP end line is \r\n not \n.
--
Scott Carr
OpenOffice.org
Documentation Maintainer
http://documentation.openoffice.org/
Quoting Matt Haught <[EMAIL PROTECTED]>:
> I am
I am trying to use pear's Mail functions to send email to my local smtp
server (FreeBSD 4.4 using qmail-smtpd), but it sort of gets hung up when
communicating with the smtp server. (I also tried a 2nd smtp server with
the same hang). It can take many minutes (way over the script's time out
stran