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
This commit is contained in:
parent
1a4310017e
commit
d128f5f6af
1 changed files with 5 additions and 1 deletions
|
@ -142,7 +142,11 @@
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
- (NSData *)send:(NSError **)error {
|
- (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];
|
NSMutableData *postBody = [NSMutableData data];
|
||||||
int i, count;
|
int i, count;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue