couchdb-user mailing list archives

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

Mime
View raw message