Re: Re: Trouble with SOCKS proxies using NSStream
Re: Re: Trouble with SOCKS proxies using NSStream
- Subject: Re: Re: Trouble with SOCKS proxies using NSStream
- From: email@hidden
- Date: Sun, 16 Jan 2005 13:36:48 -0800
localhost, 127.0.0.1, and ::1 are automatically bypassed for proxies.
When you called
SetProperty, it successfully set the value. This is why it returns
TRUE.
CFSocketStream knows that it should bypass the proxy when connecting to
these host values
though. It actually does this part up front, so as to not pay the price
at connect or to hold on
to memory that's not needed. You are trying to pull the value back out,
but it really wasn't
saved, so you're getting NULL.
I believed I changed the behavior in Tiger to go ahead and return FALSE
in the case where it
didn't get set instead of returning this false positive.
_______________________________________________
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