Re: PAC files and CFNetworkCopyProxiesForAutoConfigurationScript()
Re: PAC files and CFNetworkCopyProxiesForAutoConfigurationScript()
- Subject: Re: PAC files and CFNetworkCopyProxiesForAutoConfigurationScript()
- From: Mark Pauley <email@hidden>
- Date: Thu, 10 Jul 2008 13:27:39 -0700
So it's up to your pac file. We simply pass the url you give us to
the script's FindProxyForURL function.
Feel free to pass in "unknown://blahblahblah". We'll just turn that
into a JavaScript string and pass it in as the first argument to
FindProxyForURL.
_Mark
On Jul 10, 2008, at 12:49 PM, Tommy Nguyen wrote:
In using the CFNetworkCopyProxiesForAutoConfigurationScript()
function from CFProxySupport.h, it appears that the url passed in
MUST contain a scheme such as http://www.apple.com (simply passing www.apple.com
yields an error).
This seems straightforward for HTTP, HTTPS, and FTP, but what should
one use when they simply want the SOCKS proxy for a given URL? For
example, if I want to know the SOCKS proxy to use to access a
service at someisp.com that's not HTTP, HTTPS, nor FTP, what's the
correct URL that should be passed in?
Thanks,
Tommy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden