• 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: Trouble with SOCKS proxies using NSStream
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with SOCKS proxies using NSStream


  • Subject: Re: Trouble with SOCKS proxies using NSStream
  • From: Samuel Tesla <email@hidden>
  • Date: Sun, 16 Jan 2005 17:46:30 -0600

That makes sense.

However, I'm not connecting to localhost when this happens, hence my confusion. I'm trying to connect to a remote host, and I'm trying to use a remote proxy, and its still not working.

Although, this does raise the question of why it ignores the proxy settings. Wouldn't that really be something we'd want to allow the application to decide? I know that I can think up some really good reasons to run a proxy on the localhost and use it to connect to services on the localhost.

Also, should I expect this behaviour if the host the stream is set up to connect to is remote but the proxy is on localhost?

Thanks, again, for the help.

Samuel

On Jan 16, 2005, at 3:36 PM, email@hidden wrote:

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
  • Follow-Ups:
    • Re: Trouble with SOCKS proxies using NSStream
      • From: Jeremy Wyld <email@hidden>
References: 
 >Re: Re: Trouble with SOCKS proxies using NSStream (From: email@hidden)

  • Prev by Date: Re: OT: FireWire to Ethernet adapter
  • Next by Date: Re: Trouble with SOCKS proxies using NSStream
  • Previous by thread: Re: Re: Trouble with SOCKS proxies using NSStream
  • Next by thread: Re: Trouble with SOCKS proxies using NSStream
  • Index(es):
    • Date
    • Thread