Closed Bug 48585 Opened 25 years ago Closed 25 years ago

Double downloading of messages

Categories

(MailNews Core :: Networking: IMAP, defect, P3)

Other
Other
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 22034

People

(Reporter: tenthumbs, Assigned: mscott)

Details

(Keywords: perf)

Testing against my localhost IMAP server on Linux (UW IMAP-2000-RC4) I noticed that if I double-click on a message with an image attachment so that a new window opens, then Mozilla downloads the entire message and then immediately downloads it again. This is with a ~3MB image so the entire message is ~4MB after encoding. On a modem connection, this would be extremely poor.
Possibly, but this one depends on partial body fetches. If I create a 2000x2000 image of a solid color it is onlg 581 bytes as a PNG but ~63K as a JPEG. If I attach the PNG to a short message Mozilla transfers the message in one lump and that's all. If I attach the JPEG (which is ~87K after encoding) then Mozilla does partial transfers and downloads it twice. Now 2000x2000 *is* rather extreme but I can see the same thing with a 1024x768 screenshot as a JPEG.
Actually, it double downloads the entire message so I'm changing the summary to so indicate. The dimensions of an image seem to make no difference. A 488x600 RGB+alpha PNG, which is ~500K, shows the same problem.
Summary: Double downloading of message attachments → Double downloading of messages
after we've download an individual mime part, we must not be realizing that it's in the disk cache. Probably due to differences in the url structure which is used to determine cache hits.
Status: NEW → ASSIGNED
Keywords: nsbeta3, perf
Target Milestone: --- → M18
per mail triage, mark dup of 22034 *** This bug has been marked as a duplicate of 22034 ***
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Verified as duplicate.
Status: RESOLVED → VERIFIED
QA Contact: lchiang → huang
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.