playhaven/sdk-ios — comment on commit 0839d81328e02ec201d3bf7eacd716170c9f68f4
File: src/PHPublisherContentRequest.m line 54
By jfrndz:

1) A request that hasn't been sent isn't outstanding, it's just sitting there. It could be a request that was instantiated when a view was loaded. These kind requests aren't being retained by anything or have any NSURLConnection objects waiting on a connection, canceling these requests would be kind of pointless.

On Nov 15, 2011, at 3:48 PM, Sam Stewart wrote:

> 1) Guess the question is whether or not we want to cancel *all* outstanding requests when it enters the background. Also, don't think it's the best idea to put in send because you'd have to unregister/register every time the user dismisses/sends the request, right? Maybe better to just check if we have outstanding content requests before calling finish? Still, goes back to question of canceling *all* outstanding requests or not.
>
> 2) Arrrgh. Good call, I keep forgetting that we have to be backward compatible.
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/playhaven/sdk-ios/commit/0839d81328e02ec201d3bf7eacd716170c9f68f4#commitcomment-723307