potential fix for topcrash in imap code 269573, parser was ignoring the stop button in some situations, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@166493 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2680,7 +2680,7 @@ PRBool nsImapServerResponseParser::msg_fetch_literal(PRBool chunk, PRInt32 origi
|
||||
// If we opened a tunnel, finish everything off here. Otherwise, get everything here.
|
||||
// (just like before)
|
||||
|
||||
while (ContinueParse() && (charsReadSoFar < numberOfCharsInThisChunk))
|
||||
while (ContinueParse() && !fServerConnection.DeathSignalReceived() && (charsReadSoFar < numberOfCharsInThisChunk))
|
||||
{
|
||||
AdvanceToNextLine();
|
||||
if (ContinueParse())
|
||||
|
||||
Reference in New Issue
Block a user