From user-return-17429-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Thu Aug 11 20:56:19 2011 Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7733475D7 for ; Thu, 11 Aug 2011 20:56:19 +0000 (UTC) Received: (qmail 47426 invoked by uid 500); 11 Aug 2011 20:56:17 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 47365 invoked by uid 500); 11 Aug 2011 20:56:17 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 47356 invoked by uid 99); 11 Aug 2011 20:56:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2011 20:56:17 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ningtan@gmail.com designates 209.85.161.52 as permitted sender) Received: from [209.85.161.52] (HELO mail-fx0-f52.google.com) (209.85.161.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2011 20:56:09 +0000 Received: by fxd18 with SMTP id 18so3021395fxd.11 for ; Thu, 11 Aug 2011 13:55:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=exKocHDVtfBZUpFyojqSGzzbOrHSQOqdgeMosiYkpM0=; b=ODg3n6yXMRdh1gKNaeBcj3rWPn4wpCxh0BAnS3pfCw9o0Y7ZJPCWUHQNA3FNG5+PPo bDTzNepicIlOu3Y5GbE49IaecPvaY8pVazKjPmspuvTEj0rhn0OSvDidhb6RL9M1UK7t MK9a7A5fyTjDXMlxGEfkfJ/MCHCyu97bapGS8= Received: by 10.223.51.19 with SMTP id b19mr139145fag.34.1313096149117; Thu, 11 Aug 2011 13:55:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.127.9 with HTTP; Thu, 11 Aug 2011 13:55:19 -0700 (PDT) From: Ning Tan Date: Thu, 11 Aug 2011 16:55:19 -0400 Message-ID: Subject: changes continuous feed hangs even with heartbeat specified To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hello, We have a 1.0.1 CouchDB database. If I issue a "curl -X GET http://myserver:5984/mydb/_changes?feed=continuous&heartbeat=5000&since=226234", the feed is fine up to a point where I receive a { "lastSeq": 235464 } line, and then the connection just hangs. The fact that the last line was different from all the other ones leads me to believe there is some Couchdb protocol I'm not aware of. Am I supposed to reconnect when I see a line like this? Has anybody seen this behavior? Thanks!