• 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: Exception using custom input stream for NSURLRequest
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exception using custom input stream for NSURLRequest


  • Subject: Re: Exception using custom input stream for NSURLRequest
  • From: Jens Alfke <email@hidden>
  • Date: Sun, 05 Feb 2012 12:24:43 -0800

I was able to work around the problem by implementing both -_scheduleInCFRunLoop:forMode: and another undocumented method,
_setCFClientFlags:callback:context. It’s pretty clear that these are parallels to similarly-named methods in CFStream.h, so it wasn’t hard to figure out what they’re supposed to do. After that, the custom stream appears to work.

I’m having another problem now, but it’s not directly related to this so I’ll post about it in a different thread.

—Jens
 _______________________________________________
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: Exception using custom input stream for NSURLRequest
      • From: Lou Zell <email@hidden>
References: 
 >Re: Exception using custom input stream for NSURLRequest (From: Jeff Johnson <email@hidden>)

  • Prev by Date: Re: Exception using custom input stream for NSURLRequest
  • Next by Date: HTTPBodyStream without chunked encoding?
  • Previous by thread: Re: Exception using custom input stream for NSURLRequest
  • Next by thread: Re: Exception using custom input stream for NSURLRequest
  • Index(es):
    • Date
    • Thread