Set the maximum number of HTTP connections (and thus threads) to 4 when performing pull replication. This will help prevent Out of Memory exceptions during replication with attachments.
Set the maximum number of HTTP connections (and thus threads) to 12 when performing pull replications to match the number used in TouchDB for iOS.
[maven-release-plugin] prepare release v0.1.2
[maven-release-plugin] prepare for next development iteration
Updated the replicator to correctly stream the multipart responses to the BlobStore in the thread which is receiving the HTTP response. Later attach the blob key to the document in the database. If the blob is not saved during the response, then throw an exception and let it be handled like other errors which may occur.
Merge branch 'multipart-pull-replication'