mozilla-services/android-sync — pull request #112 by rnewman (2012-03-16 06:01:54+00:00)
Title: Bug 736352 - Aborting… doesn't.

With these changes we now terminate outstanding HTTP connections, don't continue processing line-by-line content, don't continue attempting to store, and so on, as soon as we abort the sync.

Before:

https://bugzilla.mozilla.org/attachment.cgi?id=606435

After:

https://bugzilla.mozilla.org/attachment.cgi?id=606482

The only reason I observed this is because we now terminate the HTTP channels when the session is aborted after a single store failure! Previously we were aborting the sync, but it would continue and finish!

Pretty important.