mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-01-25 19:51:08 +00:00
fix symupload / minidump_upload to match changes to HTTPUpload::SendRequest from r640
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@657 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
0b12b34928
commit
39edd96373
|
@ -27,12 +27,15 @@
|
||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
// minidump_upload.m: Upload a minidump to a HTTP server. The upload is sent as
|
// minidump_upload.cc: Upload a minidump to a HTTP server.
|
||||||
// a multipart/form-data POST request with the following parameters:
|
// The upload is sent as a multipart/form-data POST request with
|
||||||
|
// the following parameters:
|
||||||
// prod: the product name
|
// prod: the product name
|
||||||
// ver: the product version
|
// ver: the product version
|
||||||
// symbol_file: the breakpad format symbol file
|
// symbol_file: the breakpad format symbol file
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@ -66,6 +69,7 @@ static void Start(Options *options) {
|
||||||
"upload_file_minidump",
|
"upload_file_minidump",
|
||||||
options->proxy,
|
options->proxy,
|
||||||
options->proxy_user_pwd,
|
options->proxy_user_pwd,
|
||||||
|
"",
|
||||||
&response,
|
&response,
|
||||||
&error);
|
&error);
|
||||||
|
|
||||||
|
|
|
@ -145,6 +145,7 @@ static void Start(Options *options) {
|
||||||
"symbol_file",
|
"symbol_file",
|
||||||
options->proxy,
|
options->proxy,
|
||||||
options->proxy_user_pwd,
|
options->proxy_user_pwd,
|
||||||
|
"",
|
||||||
&response,
|
&response,
|
||||||
&error);
|
&error);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue