forked from organicmaps/organicmaps
[iOS] Fixed upload timeout
This commit is contained in:
parent
1f07ded6fe
commit
7b09b2d50f
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@
|
|||
- (void)uploadWithCompletion:(void (^)(NSInteger httpCode, NSString *description))completion {
|
||||
NSURL * url = [NSURL URLWithString:self.urlString];
|
||||
NSMutableURLRequest * uploadRequest = [NSMutableURLRequest requestWithURL:url];
|
||||
uploadRequest.timeoutInterval = 5;
|
||||
uploadRequest.timeoutInterval = 15;
|
||||
uploadRequest.HTTPMethod = self.method;
|
||||
|
||||
NSString * boundary = [NSString stringWithFormat:@"Boundary-%@", [[NSUUID UUID] UUIDString]];
|
||||
|
|
Loading…
Add table
Reference in a new issue