Closed Bug 321924 Opened 20 years ago Closed 20 years ago

Properly handle untagged "BAD" responses in IMAP protocol and clean up response handling

Categories

(MailNews Core :: Networking: IMAP, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: engel, Assigned: engel)

References

Details

Attachments

(1 file)

According to RFC3501, Sec. 7.1, an untagged BAD response "indicates a protocol-level error for which the associated command can not be determined; it can also indicate an internal server failure." When such an untagged BAD response is received, |fCurrentCommandFailed = PR_TRUE| should be set, because in the current implementation only one command is sent at once. (Bug 321599 motivated me to have a look into response handling; however, it turns out that concerning the issue reported there, the current implementation behaves correctly.)
Add Parameter to |resp_cond_state()|, removing the field |fProcessingTaggedResponse|.
Attachment #207207 - Flags: review?(bienvenu)
Status: NEW → ASSIGNED
Blocks: 313038
Attachment #207207 - Flags: review?(bienvenu) → review+
fixed on trunk, thx, Hans-Andreas!
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
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: