php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6593 Can compile imap extension with the persistent connection OP_RELOGIN option
Submitted: 2000-09-07 06:17 UTC Modified: 2000-09-07 18:26 UTC
From: andrew at topdomain dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.2 OS: Linux RedHat 6.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: andrew at topdomain dot net
New email:
PHP Version: OS:

 

 [2000-09-07 06:17 UTC] andrew at topdomain dot net
I can't compile imap with the persistent connection option. Specifically, no reference of the CL_HALF flag in imap-4.7b nor php files. Fatal compilation in mail_close_full()

#ifdef OP_RELOGIN
/* AJS: stream close functions for persistent connections */
void mail_userlogout_it(pils *imap_le_struct)
{
        /* Close this user's session, putting the stream back
         * into AUTHENTICATE state.  (Note that IMAP does not
         * support this behavior... yet)
         */
        imap_le_struct->busy = 0;
        mail_close_full(imap_le_struct->imap_stream, imap_le_struct->flags | CL_HALF);
}

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-07 18:26 UTC] sniper@php.net
Persistant connections are not available with standard c-client library.

http://marc.theaimsgroup.com/?l=php-dev&m=95634172325425&w=2

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 16:00:02 2026 UTC