Closed
Bug 71666
Opened 24 years ago
Closed 24 years ago
If you do GetMsg() stop and then again GetMsg() you end up losing messages
Categories
(MailNews Core :: Networking: POP, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9
People
(Reporter: naving, Assigned: naving)
Details
(Whiteboard: [nsbeta1+])
Attachments
(4 files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review |
Reproducible on win 2001030904 and linux 2001030913.
Expected results: should not lose messages
Actual results: loss of messages
You may want to provide a few more details for Sheela so she knows what is
needed to reproduce the problem.
QA Contact: esther → sheelar
Assignee | ||
Comment 4•24 years ago
|
||
Comment 5•24 years ago
|
||
please explain the logic behind the fix.
Assignee | ||
Comment 6•24 years ago
|
||
When you hit stop then you try to commit the current state by removing
the last uidl entry in the struct newuidl. Removing last entry is not
enough because it so happens that even before a msg has been fully
downloaded and written to the disk we start processing the next msg.
So we end up have two entries more in newuidl structure. Therefore
remove these two uidl entries from newuidl and then save the state in
popstate.dat
cc bienvenu
Comment 7•24 years ago
|
||
So I think that would be worth a comment in the code. Also, what if, for some
reason, there's only one extra entry there (e.g., you only have one message to
download and interrupt the download of that msg) - shouldn't we check for that
in the code?
Comment 8•24 years ago
|
||
marking nsbeta1+
Priority: -- → P1
Whiteboard: [nsbeta1+]
Target Milestone: --- → mozilla0.9
Assignee | ||
Comment 9•24 years ago
|
||
Comment 10•24 years ago
|
||
r=bienvenu
Assignee | ||
Comment 11•24 years ago
|
||
I noticed that IncorporateComplete was getting called twice for each message
being downloaded. To enusre that complete is called only once, made changes
to the last patch. We need to do so to avoid publishing the header twice in
some cases. I found one such case, where message size was 66kb and message
downloading was interrupted by "Stop".
Assignee | ||
Comment 12•24 years ago
|
||
Assignee | ||
Comment 13•24 years ago
|
||
Sorry, ignore the last patch dated 03/16/01 14:12.
Assignee | ||
Comment 14•24 years ago
|
||
Assignee | ||
Comment 15•24 years ago
|
||
David, I am assuming r= on the last patch here.
Assignee | ||
Comment 16•24 years ago
|
||
fix checked in.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 17•24 years ago
|
||
Please verify this only for leave messages on the server (X).
Comment 18•24 years ago
|
||
Comment 19•24 years ago
|
||
verified,
2001-04-04-12win98
2001-04-04-14linux
2001-04-04-08mac
clicking get mssg stop and get mssg does not result in losing message.
Preference for pop was Leave messages on the server when I verified this bug.
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
•