From d05c46b9f8fddd8a456fc93d0ecef113c4f20379 Mon Sep 17 00:00:00 2001 From: Vlad Velicu Date: Mon, 14 Oct 2024 15:18:38 +0100 Subject: [PATCH] Proxy CONNECT request replace false with NULL (#3332) --- Objective-C/Internal/Replicator/CBLHTTPLogic.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,