Closed Bug 12944 Opened 25 years ago Closed 25 years ago

imap doesn't cache capabilities for host

Categories

(MailNews Core :: Backend, defect, P3)

All
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: Bienvenu, Assigned: Bienvenu)

Details

Attachments

(1 file)

(deleted), text/x-github-pull-request
Details
Everytime we open an imap folder, we ask it for its capabilities. We should cache this capability the first time we open a connection to a host. To verify the fix, one would need to look at an imap log, and make sure we don't issue the capability command for the second folder we open.
Status: NEW → ASSIGNED
Target Milestone: M11
Sol was mentioning how everytime he selected a message in the IMAP folder (ie. Inbox), the status would show "opening folder." Does this have to do with trying to get a connection for this capability each time for the same folder?
No, even 4.5 displays that message everytime you read a message - it just goes by so fast, you don't see it. It just means we're going through that stage of running a url against a folder - if we hadn't opened the folder (e.g., your connection timed out) before loading the message, we would really open the folder.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
fixed in m11.
David, I looking at my IMAP log and does capability command look like the following? "5[44f1ff8]: nsmail-5:NA:CreateNewLineFromSocket: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS LANGUAGE STARTTLS XSENDER X-NETSCAPE XSERVERINFO AUTH=PLAIN AUTH=LOGIN" I just wanted to be sure before I try to verify this bug. Thanks. :)
yep, that's the one.
Thank you David :) Verified on Win32 seamonkey build 1999-09-13-10 build. Need to verify on Linux and MacOS.
Verified on Linux seamonkey build 1999-09-13-08 Need to verify on Mac
Status: RESOLVED → VERIFIED
Verified as fixed using the Mac seamonkey build 1999-09-02-08. The imap log indicated that the we query the imap capability only once. Verified bug as fixed. :)
cc: karen as a fyi. You don't need to do anything on this bug, but thought you'd like to see how the IMAP log can be used to report/verify bugs.
Product: MailNews → Core
Product: Core → MailNews Core
Attached file GitHub Pull Request (deleted) —
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: