• 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: "Francois Cournoyer" <email@hidden>
  • Date: Fri, 14 May 2004 12:37:05 -0400
  • Thread-topic: HTTPS streams through a proxy

Thanks,
Seems to be working with this, had to do a little checking to see if I
need 2 or 4 values(if no HTTPS or HTTP settings were set), but seems
alright and functional now.


-----Original Message-----
From: Becky Willrich [mailto:email@hidden]
Sent: Friday, May 14, 2004 12:25 PM
To: Francois Cournoyer
Cc: email@hidden
Subject: Re: HTTPS streams through a proxy

> 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.


  • 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: Executing privileged work using exec
  • Index(es):
    • Date
    • Thread