php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24085 imap_open takes long time when not specifying port num
Submitted: 2003-06-08 16:54 UTC Modified: 2003-06-08 18:02 UTC
From: bg at ds dot hj dot se Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 4.2.2 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bg at ds dot hj dot se
New email:
PHP Version: OS:

 

 [2003-06-08 16:54 UTC] bg at ds dot hj dot se
The PHP-version that I am running is 4.2.2 and not 4.3.2, unfortunately I can't upgrade to reproduce the problem due to the fact that the system isn't mine.

When calling imap_open("{localhost}","user","pass"); and not specifying port number the call takes about 14-15s to complete.

This is not the issue when using a port number when calling:
imap_open("{localhost:143}","user","pass");

This last call takes about 1 sec (in my case) to complete, and it is not due to network instability. I have seen the same problem described in the documentation about imap-support in php.

PHP-version is 4.2.2
php-imap: $Id: php_imap.h,v 1.17.2.1 2002/03/11 23:11:37 derick Exp $

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-08 18:02 UTC] elmicha@php.net
I verified that this is no problem anymore with PHP 4.3.2. If you can't upgrade from PHP 4.2.2, your only option is inventing a time machine, so the PHP developers would be able to fix this before the release of PHP 4.2.2. On the other hand, you could just use "{localhost:143}" (but I certainly would prefer that you would invent that time machine).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 21:01:29 2024 UTC