diff --git a/Objective-C/Internal/Replicator/CBLHTTPLogic.m b/Objective-C/Internal/Replicator/CBLHTTPLogic.m index 0f7fe67e9..3c4db9634 100644 --- a/Objective-C/Internal/Replicator/CBLHTTPLogic.m +++ b/Objective-C/Internal/Replicator/CBLHTTPLogic.m @@ -144,7 +144,7 @@ - (CFHTTPMessageRef) newHTTPRequest { CFHTTPMessageRef httpMsg; if (_proxyType == kCBLHTTPProxy && _useProxyCONNECT) { NSString *destination = $sprintf(@"%@:%d", url.host, url.my_effectivePort); - CFURLRef requestURL = CFURLCreateWithString(kCFAllocatorDefault, (__bridge CFStringRef)destination, false); + CFURLRef requestURL = CFURLCreateWithString(kCFAllocatorDefault, (__bridge CFStringRef)destination, NULL); httpMsg = CFHTTPMessageCreateRequest(NULL, CFSTR("CONNECT"), requestURL,