Closed Bug 361595 Opened 18 years ago Closed 6 years ago

IMAP: Need to close idle connection when new connection requested and rejected by server

Categories

(Penelope Graveyard :: General, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mdudziak, Assigned: dwiggins)

Details

The problem is that most IMAP servers limit the number of simultaneous connections. This is fine as Thunderbird / Penelope have a setting to limit the number of simultaneous connections, but when you do not _know_ the limit to the number of connections, and you have your setting set too high, Penelope needs to recognize that you have a cached connection and close that connection when you are requesting a new connection, instead of just throwing up an error.

To reproduce:

- Set up an account to test against an IMAP server that supports only 2 simultaneous connections

- In Penelope, click on the INBOX for this account
- Click on another mailbox for this account
- Click on yet another mailbox
- Note the error "Unable to connect to your IMAP server. You may have exceeded the maximum number of connections to this server. If so, use the Advanced IMAP Server Settings dialog to reduce the number of cached connections"

Suggest that Penelope should be smart enough to determine that the max has been reached, and close the oldest cached connection then open the new connection.
Status: NEW → ASSIGNED
Priority: -- → P5
Penelope didn't see any activity in the vcs for the last 8 years, closing.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.