Bug #15595 Updated: imap routines hang when "To" header is too large
| From: | sniper@php.net | Date: | Tue, 12 Mar 2002 02:30:57 +0000 |
| Subject: | Bug #15595 Updated: imap routines hang when "To" header is too large | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-2272@lists.php.net to get a copy of this message | ||
ID: 15595
Updated by: sniper@php.net
-Summary: imap routines hang when "To" header is too large
Reported By: charlesb@ekit-inc.com
-Status: Open
+Status: Feedback
Bug Type: IMAP related
Operating System: Solaris-i86
PHP Version: 4.1.1
New Comment:
Try the latest _c-client_ library, not PHP.
As this is most likely not bug in PHP but in the
c-client library itself.
--Jani
Previous Comments:
------------------------------------------------------------------------
[2002-03-11 20:52:16] charlesb@ekit-inc.com
We upgraded last week to 4.1.2, the problem still occurs.
------------------------------------------------------------------------
[2002-03-11 09:37:31] sniper@php.net
First of all you should try with the latest c-client.
--Jani
------------------------------------------------------------------------
[2002-03-11 04:47:56] charlesb@ekit-inc.com
Is there anything I can do to help this along? We've been bitten twice
by this in the last few days.
------------------------------------------------------------------------
[2002-02-18 18:09:33] charlesb@ekit-inc.com
An exact script is difficult. (I've spent a day or two trying to pin it
down to a simple routine, not with any great success).
However, it looks like
$h = @imap_header($imp->stream, imap_msgno($imp->stream, $msgnum));
is hanging with a message that has to header of about 4K (again, this
probably violates rfc822, but it shouldn't hang like it does).
$imp->stream is constructed like this (as you'd expect):
$connstr = '{' . $this->server . ':' . $this->port . '}' .
$this->mailbox;
$this->stream = @imap_open($connstr, $this->user, $this->pass);
Thanks.
------------------------------------------------------------------------
[2002-02-18 08:29:31] sander@php.net
Can you provide a simple sample script?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/15595
--
Edit this bug report at http://bugs.php.net/?id=15595&edit=1