diff --git a/Source/NSURLSession.m b/Source/NSURLSession.m index 411933599..6579086a1 100644 --- a/Source/NSURLSession.m +++ b/Source/NSURLSession.m @@ -1245,14 +1245,7 @@ static NSURLSessionConfiguration *def = nil; - (void) setHTTPMaximumConnectionLifetime: (NSInteger)n { -#if HAVE_DECL_CURLOPT_MAXAGE_CONN _HTTPMaximumConnectionLifetime = n; -#else - [NSException raise: NSInternalInconsistencyException - format: @"-[%@ %@] not supported by the version of Curl" - @" this library was built with", - NSStringFromClass([self class]), NSStringFromSelector(_cmd)]; -#endif } - (BOOL) HTTPShouldUsePipelining