Hi, thanks for your answer! I'm working on WebKit, so we are using NSURLSession see here. Probably a data task for visiting websites, but I can confirm it with my local build.
Post
Replies
Boosts
Views
Activity
Regarding the platform, only macOS is in the scope for this request. Is this bug report publicly visible in some bug tracker?
I tried to use kSCPropNetProxiesExcludeSimpleHostnames but I get use of undeclared identifier. Is it internally different to kCFNetworkProxiesExcludeSimpleHostnames?
Regarding the snippet, I tried the following:
[dictionary setObject:[NSNumber numberWithInteger:0] forKey:(NSString *)kCFNetworkProxiesExcludeSimpleHostnames]
Maybe I understand it not correctly and 0 as a number is incorrect. I also tried various combinations out of kCFStreamPropertyProxyLocalBypass and kCFNetworkProxiesExcludeSimpleHostnames with booleans and integers.
I will try to come up with a small reproducible to test it without the whole WebKit project.
I created a small GitHub repository with the reproducible to demonstrate it: https://github.com/mxschmitt/cfnetwork-localhost-proxy
Thank you for your help!
@DTS Engineer are there updates on this by any chance? Since this is still blocking us. Thank you!