CFFTP EPIPE error and crash
CFFTP EPIPE error and crash
- Subject: CFFTP EPIPE error and crash
- From: Ryan Joseph <email@hidden>
- Date: Tue, 13 May 2008 19:16:00 -0600
I have some code ported from Apple's CFFTPSample with a strange crash I can't make sense of. I noticed that after a certain period of time of downloading a directory if I perform a download/upload operation it will return a EPIPE error (broken pipe) then after exiting the callback, releasing resources and closing the stream it crashes inside CoreFoundation framework. The crash is pretty nasty but maybe the issue is the fact the error even occurs in the first place.
It's my understanding that the stream is closed after each operation so I'm not clear as to why the "pipe broke" as it should have been closed. Even if the crash wasn't happening I shouldn't be getting this error. It's almost like I had a persistent FTP connection that was timed out, but I don't think that's how the code works.
Can anyone help explain how I could avoid the error which causes the crash? thanks for your help i'm stumped.
|
_______________________________________________
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