Changeset 9799


Ignore:
Timestamp:
Dec 19, 2009, 7:14:29 PM (12 years ago)
Author:
livings124
Message:

#2686 Do not cache torrents added by url

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r9763 r9799  
    11391139        }
    11401140       
    1141         NSURL * url = [NSURL URLWithString: urlString];
    1142         [[NSURLDownload alloc] initWithRequest: [NSURLRequest requestWithURL: url] delegate: self];
     1141        NSURLRequest * request = [NSURLRequest requestWithURL: [NSURL URLWithString: urlString]
     1142                                    cachePolicy: NSURLRequestReloadIgnoringLocalAndRemoteCacheData timeoutInterval: 60];
     1143        [[NSURLDownload alloc] initWithRequest: request delegate: self];
    11431144    }
    11441145}
Note: See TracChangeset for help on using the changeset viewer.