[aerogear-dev] cancelAllOperations fails with variable paths
Matthias Wessendorf
matzew at apache.org
Thu Feb 28 01:18:36 EST 2013
+1
I think this makes sense;
we can revisit - if needed - later
On Wed, Feb 27, 2013 at 6:19 PM, Christos Vasilakis <cvasilak at gmail.com> wrote:
> Hi,
>
> during writing tests for "cancel" in authenticator, I found that AFNetworking requires the path of the request to cancel (apart from the method type e.g. PUT/POST). Because we can have multiple paths(eg. /login/logout/enroll or /projects/100 etc) and possible performing simultaneously, we need to cancel them all regardless of the path (as in our spec).
>
> One solution is to override the method that will cancelAllRequests regardless of the path. Something like [1]
>
> Wdyt?
>
> Thanks,
> Christos
>
> [1]https://github.com/cvasilak/aerogear-ios/compare/cancel.all.ops#L0R125
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
More information about the aerogear-dev
mailing list