Closed
Bug 79767
Opened 23 years ago
Closed 19 years ago
IMAP SEARCH commands include HEADER unnecessarily
Categories
(MailNews Core :: Networking: IMAP, defect, P3)
MailNews Core
Networking: IMAP
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.1alpha
People
(Reporter: roc, Assigned: roc)
Details
(Keywords: fixed1.8.1, perf)
Attachments
(1 file, 1 obsolete file)
2.02 KB,
patch
|
Bienvenu
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
The HEADER search term should only be used to search headers that are not already defined as searchable terms in IMAP. In other words, when searching for SUBJECT, TO, CC, SENDER, etc, HEADER should not be included. When HEADER is included, Cyrus imapd (at least) does a very expensive search through the texts of the messages; without HEADER it searches through its cache and performs the search much much more quickly.
Assignee | ||
Comment 1•23 years ago
|
||
Assignee | ||
Comment 2•23 years ago
|
||
I wouldn't feel 100% comfortable committing that patch until we have a clue why those HEADERs were being sent in the first place (or we verify that there are no broken servers around that require it for some reason).
Comment 3•23 years ago
|
||
should we try to get review or is this an enhancement...?
Assignee | ||
Comment 4•23 years ago
|
||
It's a performance issue mainly.
Comment 5•22 years ago
|
||
Comment on attachment 33713 [details] [diff] [review] Proposed patch this patch looks good to me, from reading the rfc - sorry I forgot to review it.
Attachment #33713 -
Flags: review+
Assignee | ||
Comment 6•22 years ago
|
||
I'll take this over so I can track it :-). Who's a good super reviewer for this area?
Assignee: bienvenu → roc+moz
Priority: -- → P3
Target Milestone: --- → mozilla1.1alpha
Comment 7•22 years ago
|
||
mscott or sspitzer, it doesn't really matter.
Assignee | ||
Comment 8•22 years ago
|
||
The old patch was somewhat rotten. This patch is up to date and the code is a bit simpler. It only prepends HEADER for the arbitaryHeader terms.
Attachment #33713 -
Attachment is obsolete: true
Updated•20 years ago
|
Product: MailNews → Core
Comment 9•19 years ago
|
||
hmm, updated patch was never set for review.
Updated•19 years ago
|
Attachment #85883 -
Flags: superreview+
Attachment #85883 -
Flags: review+
Assignee | ||
Comment 10•19 years ago
|
||
Wayne, does this bug still matter to you, and can you confirm that the patch still fixes the issue? If so then we can send this forward for approval.
Assignee | ||
Comment 11•19 years ago
|
||
checked into trunk
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 12•18 years ago
|
||
this needs to be landed on the 1.8.1 branch to fix bug 344290
Keywords: fixed1.8.1
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
•