зеркало из https://github.com/mozilla/gecko-dev.git
bug 1102923 - debug1102923 stack on opt builds too r=hurley
--HG-- extra : rebase_source : 4426691514ef0c3cdef34356a9c2c4a6ee822c3b
This commit is contained in:
Родитель
b6a335b1ee
Коммит
6b3f08a665
|
@ -733,14 +733,12 @@ SpdySession31::GenerateRstStream(uint32_t aStatusCode, uint32_t aID)
|
|||
aStatusCode = PR_htonl(aStatusCode);
|
||||
memcpy(packet + 12, &aStatusCode, 4);
|
||||
|
||||
#ifdef DEBUG
|
||||
// Intentionally crash on debug builds when the debug 1102923 pref is set
|
||||
// We hope to get useful stack traces to solve bug 1102923 when running
|
||||
// test_spdy.js
|
||||
if (gHttpHandler->Debug1102923()) {
|
||||
MOZ_CRASH("Debug 1102923");
|
||||
}
|
||||
#endif
|
||||
|
||||
LogIO(this, nullptr, "Generate Reset", packet, 16);
|
||||
FlushOutputQueue();
|
||||
|
|
Загрузка…
Ссылка в новой задаче