Bug 1332213 - Store the update stream duplicately in v2 protocol parser. r=francois.

MozReview-Commit-ID: dPbvro5xIa
This commit is contained in:
Henry
2017-01-19 17:16:13 +08:00
parent 986c3e22c3
commit 2fabeb988d
3 changed files with 19 additions and 1 deletions

View File

@@ -142,6 +142,9 @@ ProtocolParserV2::AppendStream(const nsACString& aData)
nsresult rv;
mPending.Append(aData);
#ifdef MOZ_SAFEBROWSING_DUMP_FAILED_UPDATES
mRawUpdate.Append(aData);
#endif
bool done = false;
while (!done) {