Re: Crash in CFReadStreamRead
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