AFNetworking/AFNetworking — pull request #131 by johnezang (2011-11-27 10:52:49+00:00)
Title: A few minor bugs and a whole lot of AFURLConnection changes

Other than the two trivial commits, this pull request includes a pretty hefty commit for `AFURLConnection`.

... and because it's so big, you should probably go over the code.

That being said, I think it's probably worth your while. This fixes a lot of ambiguous concurrency corner cases that either or or could potentially be bugs in practice.

Off the top of my head (it's at the end of the hack session, so stamina is fading...) I only added a smattering of "new features". One is that the background network thread will now cancel an executing operating that hasn't received any data in `NSURLRequest timeoutInterval` time. Another is adding the missing complementary methods for `inputStream` (that being the equivalent `HTTPBody` `NSData *` bits). Mostly for aesthetic symmetry.