Closed Bug 117864 Opened 24 years ago Closed 24 years ago

regression: reply to mail with big attachment is slow to quote

Categories

(MailNews Core :: Composition, defect, P2)

x86
Windows 2000
defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.8

People

(Reporter: sspitzer, Assigned: sspitzer)

References

Details

(Keywords: perf)

Attachments

(1 file, 1 obsolete file)

reply to eudora mail is slow to quote I've got a sample email where reply is really, really slow. it's a message with a small body, with a big attachment.
ok, I know what's going on. the fix that cavin made is still valid, and in the tree, but we aren't reparsing the spec (nsImapUrl::ParseListOfMessageIds()) after we append "header=quotebody" to the spec. fyi, he's the bug that contains cavin's fix: http://bugzilla.mozilla.org/show_bug.cgi?id=101480 so we're not fetching the body, we're fetching the whole beast. this may have broken when quoting broke during that "store offsets" url landing, or when I tried to fix the code after quoting broken.
Status: NEW → ASSIGNED
Keywords: perf
Priority: -- → P2
Target Milestone: --- → mozilla0.9.8
Keywords: nsbeta1+
working on a fix, discussing with bienvenu over aim.
Summary: reply to eudora mail is slow to quote → regression: reply to mail with big attachment is slow to quote
Attached patch patch. (obsolete) — Splinter Review
I'm leaving it up to the classes that derive from nsIMsgMailNewsUrl to decide what setters require a reparse, in order to minimize the reparsing and the keep the base class clean. for this problem, imap url and mailbox url need to reparse after setspec and setquery, but that's it. (setport, setfilename, sethostname, etc, don't need it.) and for news, we don't need to reparse at all.
Comment on attachment 63398 [details] [diff] [review] patch. whoops, wrong patch.
Attachment #63398 - Attachment is obsolete: true
the was the right patch, but I think there is a bug in calling GetPath() after calling SetQuery(). working on it...
ok, GetPath() does the right thing after we call SetSpec(), just not after we do SetQuery(). I'll continue to investigate.
I'm blocked by the GetPath() after the SetQuery() problem (see bug #118143) I could work around it using SetSpec(), but I'd rather wait and do it right.
Depends on: 118143
Attached patch patchSplinter Review
this is the patch, just waiting for that SetQuery / GetPath issue to be fixed.
Comment on attachment 63505 [details] [diff] [review] patch sr=bienvenu
Attachment #63505 - Flags: superreview+
fixed. note to QA, you can't verify until darin lands his fix for #118143
really marking fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Compared replying to a message with 14 MB attachment prior to fix and after fix. I was able to see a significant change in time to quote with large attachment after the fix and was very fast. Marking verified. Now this problem has been fixed now on Build: 2002-01-08-06 on win98, linux, Mac OS X.
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: