Closed
Bug 99228
Opened 23 years ago
Closed 23 years ago
after connections timed out, you can't make new imap connections.
Categories
(MailNews Core :: Networking: IMAP, defect)
MailNews Core
Networking: IMAP
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.5
People
(Reporter: Bienvenu, Assigned: Bienvenu)
References
Details
(Whiteboard: PDT+)
Attachments
(1 file)
946 bytes,
patch
|
mscott
:
superreview+
|
Details | Diff | Splinter Review |
If you have filled the imap connection cache, by opening five folders, and then
sit and wait for 30 minutes until the connections have timed out, then try to
select one of the five folders again, it won't open - it will just spin. The fix
is to notice that one of the connections in the cache has timed out and
decrement the count of connections in the cache. I'll attach a fix in a sec.
Assignee | ||
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
Comment on attachment 48974 [details] [diff] [review]
proposed fix
sr=mscott
Attachment #48974 -
Flags: superreview+
Comment 3•23 years ago
|
||
adding some keyword stuff. We'll want this on the eMojo branch.
Keywords: nsbranch+
Target Milestone: --- → mozilla0.9.5
Assignee | ||
Comment 5•23 years ago
|
||
fix checked in (r=sspitzer)
To recreate the bug, select five different folders, then wait for over 30
minutes, then try to select another folder. Before the fix, the last folder
select should not do anything (e.g., cause any status msgs or network
connections). After the fix, the folder should load fine. This may also be the
cause of some problems Bob Lord reported on mscott...
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 6•23 years ago
|
||
Comment on attachment 48974 [details] [diff] [review]
proposed fix
>+ connection = null_nsCOMPtr();
>+ i--; cnt--; // if the connection times out, we'll remove it from the array,
As far as I know, null_nsCOMPtr() is deprecated and should not be used in new code. Instead just assign the pointer nsnull.
Is this checked into the branch yet? I've been seeing this problem on the 094
branch all week.
Assignee | ||
Comment 8•23 years ago
|
||
no, nothing's checked into the branch, because netscape doesn't own the branch yet.
Comment 9•23 years ago
|
||
ooops this is supposed to stay open until we can check it into the branch.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 11•23 years ago
|
||
Mscott - We are ready to take checkins, let's get it in.
Comment 12•23 years ago
|
||
I think David's stuck in Seattle. I just checked this into the branch for him.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Comment 13•23 years ago
|
||
Verified on Linux 09-27-04-0.9.4 build.
After connections timed out, reselect the 6th folder, msg load without problems.
Will verify on other platforms later.
Comment 14•23 years ago
|
||
Verified on WinNT 10-01-05-0.9.4 build
Verified on Mac 10-01-03-0.9.4 build
After connections timed out, select the 6th folder, msg load without problems.
Marking as verified.
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•