2012/8/6 Jens Alfke <[email protected]>: > > On Aug 3, 2012, at 10:36 AM, Paul Davis <[email protected]> wrote: > >> I've seen errors like this before. IIRC, the underlying issue is that >> there's a bug in the attachment handling related to gzipped vs >> identity content lengths. Specifically I think it was when CouchDB >> receives an attachment that's gzipped it doesn't bother doing an >> "gunzip > /dev/null" type operation to get the identity length and >> then when it sends the attachment to something that doesn't understand >> gzip compression there's a mismatch in what lengths are expected. > > I searched for this in Jira and found COUCHDB-1177 > <https://issues.apache.org/jira/browse/COUCHDB-1177> which has the exact same > backtrace, although nothing in its description mentions attachments or gzip.
We checked the IOS/TouchDB side and no attachments were gzipped. I did find a similar bug there: https://github.com/couchbaselabs/TouchDB-iOS/issues/116 Pieter
