I'm getting these errors when trying to load big files using TTRequestLoader:
2011-06-30 07:25:21.782 xxxxxxx[1261:607] -[TTRequestLoader connection:didReceiveResponse:](317):
TTDASSERT failed: 0 == _queue.maxContentLength || contentLength <=_queue.maxContentLength
Is there a function to increase the size of the files loaded by TTURLRequest, in order to aviod these errors?
My code:
TTURLRequest* request = [TTURLRequest
requestWithURL: [_url absoluteString]
delegate: self];
request.cachePolicy = cachePolicy;
request.cacheExpirationAge = (60*60*24*3);
TTURLDataResponse* response = [[TTURLDataResponse alloc] init];
request.response = response;
TT_RELEASE_SAFELY(response);