mattrajca/DAVKit — comment on commit f0d97bc1bdc4b37073704057f7560d2e72548d85
File:  line 0
By mikeabdullah:

I've been wondering, is this threadsafe? If you call `-cancel` from the main thread (seems likely), but the operation is running on a background thread, then the `NSURLConnection` will be asked to cancel on a different thread than the one it's scheduled on.

I see no discussion of this in the docs, but am reluctant to rely on it cancelling properly, without crashing 100% of the time.