Permalink
Commits on Sep 25, 2010
  1. update documents test assertions

    jchris committed Sep 25, 2010
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1001295 13f79535-47bb-0310-9956-ffa450edef68
  2. Explicitely close the file descriptor. It doesn't hurt.

    fdmanana committed Sep 25, 2010
    Also, since we open the file in 'raw' mode, I suspect the file descriptor is not closed when the couch_file server dies.
    
    From erl -man file:
    
    "The raw option allows faster access to a file, because no Erlang process is needed to handle the file."
    
    For me, no Erlang process handling the file means that it's likely the file is not closed by any other process.
    
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1001196 13f79535-47bb-0310-9956-ffa450edef68
Commits on Sep 24, 2010
  1. Upgrading ibrowse from version 1.6.2 to 2.0.1.

    fdmanana committed Sep 24, 2010
    This version fixes a serious issue regarding streaming of chunked HTTP(S) responses.
    The issue is that the client occasionally gets blocked or receives a timeout (if inactivity_timeout parameter is given to ibrowse).
    
    This fixes part of ticket COUCHDB-491.
    
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1000880 13f79535-47bb-0310-9956-ffa450edef68
Commits on Sep 22, 2010
  1. Removing duplicated code.

    fdmanana committed Sep 22, 2010
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1000156 13f79535-47bb-0310-9956-ffa450edef68
  2. Replicator: avoid percent encoding the slashes of design and local do…

    fdmanana committed Sep 22, 2010
    …cument IDs.
    
    This avoids receiving and following redirect responses from the peer. It also removes the eventual need of special rules in proxies (like Apache httpd).
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1000140 13f79535-47bb-0310-9956-ffa450edef68
Commits on Sep 20, 2010
  1. Fix badarity error when the changes timeout is undefined or set to in…

    fdmanana committed Sep 20, 2010
    …finity.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@998898 13f79535-47bb-0310-9956-ffa450edef68
Commits on Sep 18, 2010
  1. Added peer information to debug message.

    fdmanana committed Sep 18, 2010
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@998530 13f79535-47bb-0310-9956-ffa450edef68
Commits on Sep 17, 2010
  1. JavaScript test suite: adding more semi-collons where necessary to as…

    fdmanana committed Sep 17, 2010
    …sure compatibility with Chrome and Safari.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@998090 13f79535-47bb-0310-9956-ffa450edef68
Commits on Sep 16, 2010
  1. JavaScript test files: adding missing semi-colons (Chrome is sensitiv…

    fdmanana committed Sep 16, 2010
    …e about them, but they're not mandatory according to ECMAScript spec) and removing extra commas.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@997862 13f79535-47bb-0310-9956-ffa450edef68
  2. Correcting ibrowse version number.

    fdmanana committed Sep 16, 2010
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@997675 13f79535-47bb-0310-9956-ffa450edef68
  3. Replicator bug fix: properly stop link worker processes to avoid nopr…

    fdmanana committed Sep 16, 2010
    …oc exceptions crashing the replicator's changes feed reader process.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@997547 13f79535-47bb-0310-9956-ffa450edef68
Commits on Sep 14, 2010
  1. Replicator bug fix: make sure a replication fails when there's a stal…

    fdmanana committed Sep 14, 2010
    …e connection to a remote DB's _changes.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@997152 13f79535-47bb-0310-9956-ffa450edef68
Commits on Sep 13, 2010
  1. Replicator changes:

    fdmanana committed Sep 13, 2010
    1) avoid badmatch exceptions when there's a failure opening a single document from a remote source;
    2) add error log messages describing which remote documents couldn't be opened and why;
    3) when replications errors can't be encoded as json, convert and send them as json strings
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@996492 13f79535-47bb-0310-9956-ffa450edef68
  2. Bug fixes:

    fdmanana committed Sep 13, 2010
    1) requests to remote /db/_changes were discarding the proxy options;
    2) handle redirect code 302 besides 301
    
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@996458 13f79535-47bb-0310-9956-ffa450edef68
  3. Bug fix: add missing case for not preserving HTTP basic auth credenti…

    fdmanana committed Sep 13, 2010
    …als after a redirect for _changes
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@996399 13f79535-47bb-0310-9956-ffa450edef68
Commits on Sep 12, 2010
  1. Fix previous revision (module prefix not included)

    fdmanana committed Sep 12, 2010
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@996293 13f79535-47bb-0310-9956-ffa450edef68
  2. Replicator bug fix: redirect from remote /db/_changes not properly ha…

    fdmanana committed Sep 12, 2010
    …ndled (discarded user supplied HTTP Basic auth credentials)
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@996292 13f79535-47bb-0310-9956-ffa450edef68
  3. commonjs require no longer creates circular references

    jchris committed Sep 12, 2010
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@996266 13f79535-47bb-0310-9956-ffa450edef68
Commits on Sep 11, 2010
  1. raise the default session timeout to 12 hours

    jchris committed Sep 11, 2010
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@996199 13f79535-47bb-0310-9956-ffa450edef68
Commits on Sep 10, 2010
  1. Bug fix: replicator proxy option ignored.

    fdmanana committed Sep 10, 2010
    Thanks James Jackson for finding and reporting the bug.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@995631 13f79535-47bb-0310-9956-ffa450edef68
Commits on Sep 9, 2010
  1. Refactor changes module to allow for accumulators with the callback (…

    fdmanana committed Sep 9, 2010
    …optional, doesn't break public API).
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@995528 13f79535-47bb-0310-9956-ffa450edef68
Commits on Sep 8, 2010
  1. make sure we always do a plan.

    Benoit Chesneau committed Sep 8, 2010
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@993567 13f79535-47bb-0310-9956-ffa450edef68
Commits on Sep 7, 2010
  1. fix issue #COUCHDB-230 . now it's possible to do */test =

    Benoit Chesneau committed Sep 7, 2010
    /db/_design/test or even example.com/test =  /db/_design/test and other
    stuff already possible with vhost manager.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@993558 13f79535-47bb-0310-9956-ffa450edef68
  2. improve rewriter. No< it's possible to pass a variable in path as <var>

    Benoit Chesneau committed Sep 7, 2010
    so you can do /somepath/<var>something or /somepath/<var>.txt ...
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@993532 13f79535-47bb-0310-9956-ffa450edef68
  3. remove extra log statement

    jchris committed Sep 7, 2010
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@993229 13f79535-47bb-0310-9956-ffa450edef68
Commits on Sep 2, 2010
  1. fix warnings in couch_httpd_db.erl

    rnewson committed Sep 2, 2010
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@992070 13f79535-47bb-0310-9956-ffa450edef68
Commits on Aug 31, 2010
Commits on Aug 25, 2010
  1. COUCHDB-161 - range support. Adhere closer to the spec. correct range…

    rnewson committed Aug 25, 2010
    … parsing error in mochiweb.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988866 13f79535-47bb-0310-9956-ffa450edef68
Commits on Aug 24, 2010
  1. correct fencepost error for last bytes range request.

    rnewson committed Aug 24, 2010
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988651 13f79535-47bb-0310-9956-ffa450edef68
  2. COUCHDB-870 - attachments.js hangs.

    rnewson committed Aug 24, 2010
    attachments.js is missing a semicolon that causes an infinite loop.
    
    Thanks to Grant Jones for the fix.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988634 13f79535-47bb-0310-9956-ffa450edef68