incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pieter van der Eems <>
Subject Re: function_clause error in HTTP request
Date Mon, 06 Aug 2012 18:31:20 GMT
2012/8/6 Jens Alfke <>:
> On Aug 3, 2012, at 10:36 AM, Paul Davis <> 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 <>
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:


View raw message