• 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: HTTPS streams through a proxy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTTPS streams through a proxy


  • Subject: Re: HTTPS streams through a proxy
  • From: Becky Willrich <email@hidden>
  • Date: Fri, 14 May 2004 09:24:40 -0700

In the end though we may have different settings for both HTTP and HTTPS,
Can I guess that I can put 4 keys/values instead of 2, and put the
kCFStreamPropertyHTTPProxyHost/port as well?

Yes; that's correct.

Also, by doing so, am I sure that it will absolutely use the proxy,
isn't there another property to change, like ProxyEnabled or something?

The dictionary from SystemConfiguration includes enabled keys, so CFNetwork looks for them. If they are present, CFNetwork respects their values (so set them to kCFBooleanTrue). However, if they are absent, CFNetwork assumes you want the proxy enabled. So either leave them out altogether, or make sure they are set to true. If you're constructing the entire dictionary by hand, I would just leave them out altogether.

REW
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: HTTPS streams through a proxy
      • From: Allan Nathanson <email@hidden>
  • Prev by Date: RE: HTTPS streams through a proxy
  • Next by Date: RE: HTTPS streams through a proxy
  • Previous by thread: RE: HTTPS streams through a proxy
  • Next by thread: Re: HTTPS streams through a proxy
  • Index(es):
    • Date
    • Thread