Re: HTTPS streams through a proxy
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.