Skip to content

Commit

Permalink
Configuring session
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Mroczkowski committed Dec 13, 2013
1 parent a94a360 commit 6f4821a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Zinc/Private/ZincURLSessionFactory.m
Expand Up @@ -36,9 +36,9 @@ - (instancetype)init

} else {

// TODO: configure a new session
URLSession = [NSURLSession sharedSession];

NSURLSessionConfiguration* config = [NSURLSessionConfiguration defaultSessionConfiguration];
config.HTTPShouldUsePipelining = YES;
URLSession = [NSURLSession sessionWithConfiguration:config];
}

return URLSession;
Expand Down

0 comments on commit 6f4821a

Please sign in to comment.