(http client + sentry minidump upload) Multipart stream closing boundary is invalid + mark some options as mandatory in the command line toolsj
This commit is contained in:
		@@ -1,6 +1,10 @@
 | 
			
		||||
# Changelog
 | 
			
		||||
All changes to this project will be documented in this file.
 | 
			
		||||
 | 
			
		||||
## [8.1.0] - 2020-02-13
 | 
			
		||||
 | 
			
		||||
(http client + sentry minidump upload) Multipart stream closing boundary is invalid + mark some options as mandatory in the command line tools
 | 
			
		||||
 | 
			
		||||
## [8.0.7] - 2020-02-12
 | 
			
		||||
 | 
			
		||||
(build) remove the unused subtree which was causing some way of installing to break
 | 
			
		||||
 
 | 
			
		||||
@@ -648,7 +648,7 @@ namespace ix
 | 
			
		||||
               << it.second << "\r\n";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        ss << "--" << multipartBoundary << "\r\n";
 | 
			
		||||
        ss << "--" << multipartBoundary << "--\r\n";
 | 
			
		||||
 | 
			
		||||
        return ss.str();
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
@@ -6,4 +6,4 @@
 | 
			
		||||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#define IX_WEBSOCKET_VERSION "8.0.7"
 | 
			
		||||
#define IX_WEBSOCKET_VERSION "8.1.0"
 | 
			
		||||
 
 | 
			
		||||
@@ -336,8 +336,8 @@ int main(int argc, char** argv)
 | 
			
		||||
    addTLSOptions(proxyServerApp);
 | 
			
		||||
 | 
			
		||||
    CLI::App* minidumpApp = app.add_subcommand("upload_minidump", "Upload a minidump to sentry");
 | 
			
		||||
    minidumpApp->add_option("--minidump", minidump, "Minidump path")->check(CLI::ExistingPath);
 | 
			
		||||
    minidumpApp->add_option("--metadata", metadata, "Hostname")->check(CLI::ExistingPath);
 | 
			
		||||
    minidumpApp->add_option("--minidump", minidump, "Minidump path")->required()->check(CLI::ExistingPath);
 | 
			
		||||
    minidumpApp->add_option("--metadata", metadata, "Metadata path")->required()->check(CLI::ExistingPath);
 | 
			
		||||
    minidumpApp->add_option("--project", project, "Sentry Project")->required();
 | 
			
		||||
    minidumpApp->add_option("--key", key, "Sentry Key")->required();
 | 
			
		||||
    minidumpApp->add_flag("-v", verbose, "Verbose");
 | 
			
		||||
 
 | 
			
		||||
@@ -48,7 +48,6 @@ namespace ix
 | 
			
		||||
        // Read json data
 | 
			
		||||
        std::string sentryMetadata = readBytes(metadataPath);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        std::atomic<bool> done(false);
 | 
			
		||||
 | 
			
		||||
        sentryClient.uploadMinidump(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user