Re: connectionDidFinishLoading is not invoked after 1 minute
Re: connectionDidFinishLoading is not invoked after 1 minute
- Subject: Re: connectionDidFinishLoading is not invoked after 1 minute
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Wed, 26 Jan 2011 11:57:22 +0000
On 26 Jan 2011, at 10:22, ico wrote:
> So there should be no more data need to be received. In fact, connection:didReceiveData is not invoked any more. But my connectionDidFinishLoading is invoked exactly 1 minute later every time. Right, exactly 1 minute, not more or less. Any idea what is going on?
You should grab a packet trace and see what's happening on the wire. My experience is that this sort of behaviour is typically induced by the server. For example, the server might be sending the data using chunked encoding and not sending the last chunk promptly.
QA1176 "Getting a Packet Trace"
<http://developer.apple.com/library/mac/#qa/qa2001/qa1176.html>
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
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