Skip to content

Commit

Permalink
Proxy CONNECT request replace false with NULL (#3332)
Browse files Browse the repository at this point in the history
  • Loading branch information
velicuvlad authored Oct 14, 2024
1 parent e2c459c commit d05c46b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Objective-C/Internal/Replicator/CBLHTTPLogic.m
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d05c46b

Please sign in to comment.