started adding a test that thrashes an ftp session a bit
Merge branch 'sam/async' of github.com:karelia/CurlHandle into sam/async
Fix some false positives on the assertion firing.
It's ok to check the multi in shutdown.
It's also impossible to check that we're on the right queue once the ivar has been cleared, which happens during cleanup. Dispatch sources can still fire at this point.
Return boolean from checkDownloadBufferWasCorrect, so that we can fail an assertion in a more useful location.
Clear buffer after the downloadBuffer check, so that we can do another download.
Merge branch 'sam/async' into warren/async-latest-curl

# By Sam Deane
# Via Sam Deane
* sam/async:
  Return boolean from checkDownloadBufferWasCorrect, so that we can fail an assertion in a more useful location. Clear buffer after the downloadBuffer check, so that we can do another download.
  Fix some false positives on the assertion firing. It's ok to check the multi in shutdown. It's also impossible to check that we're on the right queue once the ivar has been cleared, which happens during cleanup. Dispatch sources can still fire at this point.
  started adding a test that thrashes an ftp session a bit