Closed Bug 204061 Opened 22 years ago Closed 22 years ago

Cannot login to POP3 mail server

Categories

(MailNews Core :: Networking: POP, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.4final

People

(Reporter: axlrey, Assigned: ch.ey)

References

Details

Attachments

(1 file, 1 obsolete file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030430 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030430 Alert window says: "An error occured with the POP3 mail server. Mail server pop.yandex.ru responded:" This is part of the mozilla mail log file: 0[2340a0]: Entering NET_ProcessPop3 12 0[2340a0]: POP3: Entering state: 1 0[2340a0]: POP3: Entering state: 2 0[2340a0]: POP3: Entering state: 4 0[2340a0]: RECV: (null) 0[2340a0]: Entering NET_ProcessPop3 27 0[2340a0]: POP3: Entering state: 29 0[2340a0]: POP3: Entering state: 24 0[2340a0]: POP3: Entering state: 25 Moz 1.4b 20030421 is working ok I know that it might be 203219 but it suppose to be fixed in 20030430 build Reproducible: Always Steps to Reproduce:
The server is one of those sending their Respnsens spread over multiple TCP packages. +OK POP Ya! <1932.1052312522@yandex.ru> \r\n WaitForStartOfConnectionResponse() and WaitForResponse() can handle this - they pause and get the next fragment the next time called. The problem is, that in case POP3_WAIT_FOR_START_OF_CONNECTION_RESPONSE in ProcessProtocolState() we don't check if WaitForStartOfConnectionResponse() succeeded but continue with the authentication procedure. Fix follows.
Assignee: mscott → ch.ey
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
Hardware: PC → All
Status: NEW → ASSIGNED
Component: Networking: MailNews General → Networking: POP
Attached patch proposed patch (obsolete) — Splinter Review
Two solutions where possible. Either we move the whole stuff after the call to WaitForStartOfConnectionResponse() from the case POP3_WAIT_FOR_START_OF_CONNECTION_RESPONSE to the if(*line == '+') in WaitForStartOfConnectionResponse(). Or we leave this stuff were it is and just pack it into an ifthiswaitsucceeded. I like the second more and so I've done this.
Attachment #122659 - Flags: review?(bienvenu)
Thx, looks good, but can I get a -uw diff?
Attached patch same patch -uwSplinter Review
Attachment #122659 - Attachment is obsolete: true
Comment on attachment 122666 [details] [diff] [review] same patch -uw r=bienvenu, great, thx. This will have to wait for 1.4b, and get into 1.4 final, since 1.4b is basically done.
Attachment #122666 - Flags: review+
Comment on attachment 122666 [details] [diff] [review] same patch -uw r/sr/a=sspitzer for 1.4 final. this might be worth taking for 1.4 beta, too. if you can't read your pop mail, that's bad.
Attachment #122666 - Flags: superreview+
Attachment #122666 - Flags: approval1.4b+
Attachment #122666 - Flags: approval1.4+
Attachment #122666 - Flags: approval1.4b+
david said he was going to land this for 1.4 final.
Target Milestone: --- → mozilla1.4final
fix checked in
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
*** Bug 205342 has been marked as a duplicate of this bug. ***
Attachment #122659 - Flags: review?(bienvenu)
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: