[selffailWithError:[NSErrorerrorWithDomain:NetworkRequestErrorDomaincode:ASIInternalErrorWhileBuildingRequestTypeuserInfo:[NSDictionarydictionaryWithObjectsAndKeys:@"Unable to start HTTP connection",NSLocalizedDescriptionKey,nil]]];
return;
}
[[selfcancelledLock]unlock];
if(shouldResetProgressIndicators){
doubleamount=1;
if(showAccurateProgress){
...
...
@@ -883,17 +893,16 @@ static BOOL isiPhoneOS2;
// Record when the request started, so we can timeout if nothing happens
[selffailWithError:[NSErrorerrorWithDomain:NetworkRequestErrorDomaincode:ASIInternalErrorWhileBuildingRequestTypeuserInfo:[NSDictionarydictionaryWithObjectsAndKeys:@"Unable to start HTTP connection",NSLocalizedDescriptionKey,nil]]];
//GHAssertTrue(success,@"Downloaded the file too slowly - either this is a bug, or your internet connection is too slow to run this test (must be able to download 128KB in less than 7 seconds, without throttling)");
GHAssertTrue(success,@"Downloaded the file too slowly - either this is a bug, or your internet connection is too slow to run this test (must be able to download 128KB in less than 7 seconds, without throttling)");