Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 74136 invoked from network); 18 Apr 2008 22:40:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Apr 2008 22:40:47 -0000 Received: (qmail 64673 invoked by uid 500); 18 Apr 2008 22:40:48 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 64642 invoked by uid 500); 18 Apr 2008 22:40:48 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 64631 invoked by uid 99); 18 Apr 2008 22:40:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Apr 2008 15:40:47 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bchesneau@gmail.com designates 64.233.166.179 as permitted sender) Received: from [64.233.166.179] (HELO py-out-1112.google.com) (64.233.166.179) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Apr 2008 22:40:05 +0000 Received: by py-out-1112.google.com with SMTP id a25so876832pyi.13 for ; Fri, 18 Apr 2008 15:40:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=EP17pi/TVuhAgiY4k66JOd7kOhgHU5pSpW6FmKDmBs0=; b=mmvwFN+BxpqMoKVIJ8nDaM+dOIdmLRCkT8slojT4fTsJrO71sAmHfy1gj8YvGcBdBnas+BHmypBYna2WwpJaGdiMrlH4TMXKrJqwH2UBZZqUZX6PZtB5CurxgoV3hVp89cVskZeUc4WhnGlFRGys8JJJS5jqZfmSQItiCs4/d3I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=woe6GFVkIdVuNpZ3DeSFepGUrnsBN0TSH8pJaNnG2jQRNIWF1DBXQLltuUGw14+gu14fFpRcqXRENrHP4WdFp05IrW2XzSEVWDG3B9/qYybmdZpkK/VNNQahrddB9vI7TBwEBx5loq5Ja/VTJM8m4/caF8ffgfe+/aiec8RvHFY= Received: by 10.141.66.16 with SMTP id t16mr1879646rvk.168.1208558404083; Fri, 18 Apr 2008 15:40:04 -0700 (PDT) Received: by 10.140.208.18 with HTTP; Fri, 18 Apr 2008 15:40:04 -0700 (PDT) Message-ID: Date: Sat, 19 Apr 2008 00:40:04 +0200 From: "Benoit Chesneau" To: couchdb-user@incubator.apache.org Subject: Re: problem with couchdb behing nginx In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <41fe564f0804170507i7dd08a48x5a030b4c757142b8@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org I provided a patch to fix this problem. No more chunk are sent when you ask for an http 1.0 answer (which is the case of nginx and other proxies). This patch provide valid http 1.0 : no chunk and content-length. It also fix couch.js to have a valid request header over such proxy (body can't be null). This patch don't break http 1.1 comatibility. So if you converse with couchdb in http 1.1 everything works as usual. Patch : https://issues.apache.org/jira/secure/attachment/12380544/compat_http10_cou= chdb_r649048.diff issue related to this problem : https://issues.apache.org/jira/browse/COUCHDB-40 ok for this ? - beno=EEt