Don't use gzip when uploading crash reports

This commit is contained in:
Cheng Zhao 2017-04-17 16:03:57 +09:00
parent b2b2d8d9a4
commit 08069e18db
2 changed files with 7 additions and 2 deletions

View file

@ -43,11 +43,16 @@ void CrashReporterMac::InitBreakpad(const std::string& product_name,
base::FilePath handler_path =
framework_bundle_path.Append("Resources").Append("crashpad_handler");
std::vector<std::string> args = {
"--no-rate-limit",
"--no-upload-gzip", // no all servers accept gzip
};
crashpad::CrashpadClient crashpad_client;
crashpad_client.StartHandler(handler_path, crashes_dir, crashes_dir,
submit_url,
StringMap(),
std::vector<std::string>(),
args,
true,
false);
} // @autoreleasepool

2
vendor/crashpad vendored

@ -1 +1 @@
Subproject commit 4054e6cba3ba023d9c00260518ec2912607ae17c
Subproject commit 2871326543ea0e01488f034bb660bf5a39f55c0c