Remove undefined macro

This commit is contained in:
Hugo Melder 2022-08-23 19:12:01 +02:00
parent eff3b6b805
commit a2eb35fd2f

View file

@ -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