summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-24Upgrading ibrowse from version 1.6.2 to 2.0.1.Filipe David Borba Manana
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
2010-09-22Removing duplicated code.Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1000156 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22Replicator: avoid percent encoding the slashes of design and local document IDs.Filipe David Borba Manana
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
2010-09-20Fix badarity error when the changes timeout is undefined or set to infinity.Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@998898 13f79535-47bb-0310-9956-ffa450edef68
2010-09-18Added peer information to debug message.Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@998530 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17JavaScript test suite: adding more semi-collons where necessary to assure ↵Filipe David Borba Manana
compatibility with Chrome and Safari. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@998090 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16JavaScript test files: adding missing semi-colons (Chrome is sensitive about ↵Filipe David Borba Manana
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
2010-09-16Correcting ibrowse version number.Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@997675 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16Replicator bug fix: properly stop link worker processes to avoid noproc ↵Filipe David Borba Manana
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
2010-09-14Replicator bug fix: make sure a replication fails when there's a stale ↵Filipe David Borba Manana
connection to a remote DB's _changes. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@997152 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13Replicator changes:Filipe David Borba Manana
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
2010-09-13Bug fixes:Filipe David Borba Manana
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
2010-09-13Bug fix: add missing case for not preserving HTTP basic auth credentials ↵Filipe David Borba Manana
after a redirect for _changes git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@996399 13f79535-47bb-0310-9956-ffa450edef68
2010-09-12Fix previous revision (module prefix not included)Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@996293 13f79535-47bb-0310-9956-ffa450edef68
2010-09-12Replicator bug fix: redirect from remote /db/_changes not properly handled ↵Filipe David Borba Manana
(discarded user supplied HTTP Basic auth credentials) git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@996292 13f79535-47bb-0310-9956-ffa450edef68
2010-09-12additional test for non-circular commonjs require. closes COUCHDB-869John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@996267 13f79535-47bb-0310-9956-ffa450edef68
2010-09-12commonjs require no longer creates circular referencesJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@996266 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11raise the default session timeout to 12 hoursJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@996199 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10Bug fix: replicator proxy option ignored.Filipe David Borba Manana
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
2010-09-09Refactor changes module to allow for accumulators with the callback ↵Filipe David Borba Manana
(optional, doesn't break public API). git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@995528 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08make sure we always do a plan.Benoit Chesneau
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@993567 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07fix issue #COUCHDB-230 . now it's possible to do */test =Benoit Chesneau
/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
2010-09-07improve rewriter. No< it's possible to pass a variable in path as <var>Benoit Chesneau
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
2010-09-07remove extra log statementJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@993229 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07warn when a view query will be empty due to backwards start and end keysJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@993226 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02fix warnings in couch_httpd_db.erlRobert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@992070 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31validate input strings containing escape characters, COUCHDB-875Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@991073 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25fix attachments.js in Safari by treating charset case-insensitively.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988909 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25COUCHDB-161 - range support. Adhere closer to the spec. correct range ↵Robert Newson
parsing error in mochiweb. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988866 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24correct fencepost error for last bytes range request.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988651 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24COUCHDB-870 - attachments.js hangs.Robert Newson
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
2010-08-24fix warnings of unused Len variables.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988454 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24set Accept-Ranges conditionally on identity encoding.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988452 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24support multiple byte ranges in Range header.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988451 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24return 400 Bad Request for unparseable range request.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988450 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24Added configurable nodelay setting via the ini. Set [httpd] nodelay=true to ↵Damien F. Katz
enable the TCP_NODELAY option for the web server sockets, which means that even small amounts of data will be sent immediately. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988360 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23Replicator: fix authentication failure when replicating design documents ↵Filipe David Borba Manana
that have attachments. Closes COUCHDB-868. Patch by Jason Smith, thanks. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988233 13f79535-47bb-0310-9956-ffa450edef68
2010-08-22tidy range support, make inserting of multirange support more obvious.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@987936 13f79535-47bb-0310-9956-ffa450edef68
2010-08-22COUCHDB-864 - set SAVE_RECV flag in mochiweb request to allow connection ↵Robert Newson
keep-alive between multipart/related PUT's. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@987898 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21Fix revision 987824 - add missing changes.Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@987828 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21Added some whitespaces to make the code easier to the eye.Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@987826 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21Work queue - add support for multiple consumers.Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@987825 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21Small refactoring of the work queue module to accomodate for incoming ↵Filipe David Borba Manana
options (multiple workers) git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@987824 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21add a test to check if rewrite works on views following a report on ircBenoit Chesneau
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@987750 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20Allow the replication.js test to be run outside a browser environment.Filipe David Borba Manana
Closes COUCHDB-862. Thanks Bob Dionne. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@987457 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20sysadmins were shocked that we can use $ for anything else than a shellBenoit Chesneau
environment variable. use ":" instead. use ":" instead like we do in _rewrite handler. like we do in _rewrite handler. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@987384 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19COUCHDB-861 - enhance _sum to work with lists of numbers.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@987343 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19Fix behaviour of the view query option stale=update_after.Filipe David Borba Manana
Somehow it was not working for all cases. Issue found by Volker Mische. Thanks. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@987257 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19Support Range header for all attachments, even without compaction upgrade. ↵Robert Newson
It's just less efficient. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@987084 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18expose security obj to shows, lists & updates functions.Benoit Chesneau
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@986854 13f79535-47bb-0310-9956-ffa450edef68