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

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

  • Follow-Ups:
    • Re: Trouble with SOCKS proxies using NSStream
      • From: Samuel Tesla <email@hidden>
  • Prev by Date: Re: Trouble with SOCKS proxies using NSStream
  • Next by Date: Re: OT: FireWire to Ethernet adapter
  • Previous by thread: Re: Trouble with SOCKS proxies using NSStream
  • Next by thread: Re: Trouble with SOCKS proxies using NSStream
  • Index(es):
    • Date
    • Thread