aboutsummaryrefslogtreecommitdiff
path: root/src/common/mac
diff options
context:
space:
mode:
authorladderbreaker <ladderbreaker@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-03-16 18:28:53 +0000
committerladderbreaker <ladderbreaker@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-03-16 18:28:53 +0000
commitd128f5f6af880e91e21e142615bc1a0df3b18af3 (patch)
treeab5a7acc45304fbaab892569b1a11ec92cc7ee96 /src/common/mac
parentissue 133: Mach-o UUID generation has problems - reviewed by waylonis (diff)
downloadbreakpad-d128f5f6af880e91e21e142615bc1a0df3b18af3.tar.xz
issue 134: reduce timeout period for minidump upload : reviwer waylonis
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@128 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/mac')
-rw-r--r--src/common/mac/HTTPMultipartUpload.m6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/common/mac/HTTPMultipartUpload.m b/src/common/mac/HTTPMultipartUpload.m
index 7cd77677..d1289953 100644
--- a/src/common/mac/HTTPMultipartUpload.m
+++ b/src/common/mac/HTTPMultipartUpload.m
@@ -142,7 +142,11 @@
//=============================================================================
- (NSData *)send:(NSError **)error {
- NSMutableURLRequest *req = [[NSMutableURLRequest alloc] initWithURL:url_];
+ NSMutableURLRequest *req =
+ [[NSMutableURLRequest alloc]
+ initWithURL:url_ cachePolicy:NSURLRequestUseProtocolCachePolicy
+ timeoutInterval:10.0 ];
+
NSMutableData *postBody = [NSMutableData data];
int i, count;