Skip to content

Commit

Permalink
Removes timeout so that streaming requests don’t stop. Also affects n…
Browse files Browse the repository at this point in the history
…on-streaming requests.
  • Loading branch information
nst committed Nov 10, 2013
1 parent d0844bf commit ac58d48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions STTwitter/STHTTPRequest+STTwitter.m
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ + (STHTTPRequest *)twitterRequestWithURLString:(NSString *)urlString

r.ignoreSharedCookiesStorage = YES;

r.timeoutSeconds = 0;

r.downloadProgressBlock = ^(NSData *data, NSInteger totalBytesReceived, NSInteger totalBytesExpectedToReceive) {

if(progressBlock == nil) return;
Expand Down

0 comments on commit ac58d48

Please sign in to comment.