diff options
Diffstat (limited to 'src/tools/linux')
-rw-r--r-- | src/tools/linux/symupload/minidump_upload.cc | 6 | ||||
-rw-r--r-- | src/tools/linux/symupload/sym_upload.cc | 7 |
2 files changed, 9 insertions, 4 deletions
diff --git a/src/tools/linux/symupload/minidump_upload.cc b/src/tools/linux/symupload/minidump_upload.cc index 94c3492c..19f17450 100644 --- a/src/tools/linux/symupload/minidump_upload.cc +++ b/src/tools/linux/symupload/minidump_upload.cc @@ -62,12 +62,14 @@ static void Start(Options *options) { parameters["prod"] = options->product; parameters["ver"] = options->version; + std::map<string, string> files; + files["upload_file_minidump"] = options->minidumpPath; + // Send it string response, error; bool success = HTTPUpload::SendRequest(options->uploadURLStr, parameters, - options->minidumpPath, - "upload_file_minidump", + files, options->proxy, options->proxy_user_pwd, "", diff --git a/src/tools/linux/symupload/sym_upload.cc b/src/tools/linux/symupload/sym_upload.cc index 82a8230b..2f9a73c3 100644 --- a/src/tools/linux/symupload/sym_upload.cc +++ b/src/tools/linux/symupload/sym_upload.cc @@ -139,12 +139,15 @@ static void Start(Options *options) { parameters["debug_file"] = module_parts[4]; parameters["code_file"] = module_parts[4]; parameters["debug_identifier"] = compacted_id; + + std::map<string, string> files; + files["symbol_file"] = options->symbolsPath; + string response, error; long response_code; bool success = HTTPUpload::SendRequest(options->uploadURLStr, parameters, - options->symbolsPath, - "symbol_file", + files, options->proxy, options->proxy_user_pwd, "", |