At first we thought that different behaviour in iOS 5 and 6 was the cause of the problem and the timeout failing in iOS 5. But as we found out, we were performing a GET request, so the option should have been honoured.

The problem lied inside the AGMockURLProtocol class that we use to mock the http requests. The use of [NSThread sleepForTimeInterval:] to simulate the delay, caused a blocking issue not allowing AFHTTPRequestOperation to fire the timeout event. Changing to use an [NSTimer scheduledTimerWithTimeInterval] solved the issue both is iOS 5 and iOS 6. Probably some changed internal semantics in iOS 6 caused the issue to not occur when running at that version.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira