• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: PAC files and CFNetworkCopyProxiesForAutoConfigurationScript()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • RE: PAC files and CFNetworkCopyProxiesForAutoConfigurationScript()
      • From: Tommy Nguyen <email@hidden>
References: 
 >PAC files and CFNetworkCopyProxiesForAutoConfigurationScript() (From: Tommy Nguyen <email@hidden>)

  • Prev by Date: PAC files and CFNetworkCopyProxiesForAutoConfigurationScript()
  • Next by Date: Re: local IP adresses / local host names
  • Previous by thread: PAC files and CFNetworkCopyProxiesForAutoConfigurationScript()
  • Next by thread: RE: PAC files and CFNetworkCopyProxiesForAutoConfigurationScript()
  • Index(es):
    • Date
    • Thread