• 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: Crash in CFReadStreamRead
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash in CFReadStreamRead


  • Subject: Re: Crash in CFReadStreamRead
  • From: "Jan E. Schotsman" <email@hidden>
  • Date: Sun, 30 Oct 2005 11:05:49 +0100


On 29-okt-05, at 21:15, Frederick Cheung wrote:

I vaguely recall having seen a similar crash when using persistent
connections (kCFStreamPropertyHTTPAttemptPersistentConnection). Try
turning those off (they may be on by default).

Actually they are off by default according to the header file.
I have tried turning persistent connections on and looked at the XCode example for a GET request (not releasing the old stream before youv'e created a new stream from the same URL). All to no avail.


I did find that turning off my progress code makes the problem go away. I can't find anything wrong with that code though.

Next step is probably to use RunApplicationEventLoop and schedule the stream on the main event loop instead of downloading the URL in a loop and forcing progress update with dummy WaitNextEvent calls.

Jan.

_______________________________________________
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


References: 
 >Crash in CFReadStreamRead (From: "Jan E. Schotsman" <email@hidden>)
 >Re: Crash in CFReadStreamRead (From: Frederick Cheung <email@hidden>)

  • Prev by Date: Re: Crash in CFReadStreamRead
  • Next by Date: Re: mount() from Cocoa App
  • Previous by thread: Re: Crash in CFReadStreamRead
  • Next by thread: Detecting 2 Ethernet inbuilt
  • Index(es):
    • Date
    • Thread