[Tickets #12837] Imap_Client: Leaking IMAP socket on error

noreply at bugs.horde.org noreply at bugs.horde.org
Thu Nov 14 13:44:42 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12837
------------------------------------------------------------------------------
  Ticket             | 12837
  Created By         | Thomas Jarosch <thomas.jarosch at intra2net.com>
  Summary            | Imap_Client: Leaking IMAP socket on error
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Thomas Jarosch <thomas.jarosch at intra2net.com> (2013-11-14 13:44) wrote:

Hi Michael,

I just encountered an error condition where some horde UI initiated  
process was stuck in a loop accessing the backend data. For the Kolab  
backend this resulted in trying to auth at the IMAP server without  
success over and over again.

When an IMAP auth error is thrown, the socket to the IMAP server is  
not closed. I've created the attached example script to demonstrate  
the problem.

Could we close the socket on error?

Thomas




Thomas Jarosch <thomas.jarosch at intra2net.com> (2013-11-14 13:44)  
uploaded: mass_login_failure.php

http://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=mass_login_failure.php&ticket=12837&fn=%2Fmass_login_failure.php





More information about the bugs mailing list