Re: Aborting an FTP Stream
Re: Aborting an FTP Stream
- Subject: Re: Aborting an FTP Stream
- From: Frederick Cheung <email@hidden>
- Date: Tue, 1 Mar 2005 11:04:03 +0000
On 28 Feb 2005, at 22:41, Wells, Terry C wrote:
>> However, I'm still having a problem. Now it doesn't crash, but the
>> next thing that happens in my program is an FTP directory listing
>> which reloads the CFNetwork bundle, sets up another transfer, and
>> calls RunLoopRun again. On this call, something hangs internally
and
>> no FTP transfer ever occurs, thus the runloop never exits and my
whole
>> app is frozen.
>>
>How about not unloading/reloading the cfnetwork bundle all the time?
Just tried that. Normal stuff works fine and it also prevents the
crash, but the app still hangs most of the time after an aborted xfer.
>> Given that the directory listing works correctly in the case that
the
>> prior FTP transfer completes normally (ie. no cancel), I'm thinking
>> that something is getting hosed up in the cancel/abort case.
>>
>Sample/Shark may be useful to see where your program is getting stuck
>exactly.
I'm not familiar with Sample/Shark. Where would I look for it?
/Developer/Applications/Performance Tools
You may have to get shark from the adc website.
Fred
_______________________________________________
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