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