Read stream and proxies
Read stream and proxies
- Subject: Read stream and proxies
- From: Trygve Inda <email@hidden>
- Date: Wed, 10 May 2006 11:20:24 +0000
- Thread-topic: Read stream and proxies
I have a client who is behind a proxy:
> we use automatic proxy settings with a pac file and I
> always have to enter my login and password in the browser for getting
> the internet.
Our app uses CFNetwork and ReadStreams to pull back a file via HTTP. I call:
CFReadStreamSetProperty (streamRef, kCFStreamPropertyHTTPShouldAutoredirect,
kCFBooleanTrue);
proxyDict = SCDynamicStoreCopyProxies (NULL);
CFReadStreamSetProperty (streamRef, kCFStreamPropertyHTTPProxy, proxyDict);
What else cloud I need to do?
It works fine behind open proxies w/o passowrds but I don't have a protected
proxy to test with.
Thanks,
Trygve
_______________________________________________
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