[1/6] couch commit: updated refs/heads/master to 2ad85bc

2016-09-20 Thread iilyak
Repository: couchdb-couch Updated Branches: refs/heads/master a468b0db6 -> 2ad85bcfc Partial revert Fix Windows version string determ.." This partially reverts commit 70b61f08618c34f4604bebc2ad2b8d71f90cca5e. Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://g

[2/6] couch commit: updated refs/heads/master to 2ad85bc

2016-09-20 Thread iilyak
Revert "get version from environment in cross-platform way" This reverts commit 7d0cfb5f9d1f0fcdc607b46f31ae33cbf65115df. Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/888c8f67 Tree: http://git-wip-us.apache

[3/6] couch commit: updated refs/heads/master to 2ad85bc

2016-09-20 Thread iilyak
Revert "Get couch version from environment not git" This reverts commit c613dabf635ca3a5d6de2240d00b80c334dc8f43. Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/0883e3f4 Tree: http://git-wip-us.apache.org/rep

[6/6] couch commit: updated refs/heads/master to 2ad85bc

2016-09-20 Thread iilyak
Merge remote branch 'cloudant:define_couch_version' This closes #199 Signed-off-by: ILYA Khlopotov Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/2ad85bcf Tree: http://git-wip-us.apache.org/repos/asf/couchd

[4/6] couch commit: updated refs/heads/master to 2ad85bc

2016-09-20 Thread iilyak
Remove rebar.config Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/30cc961a Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/30cc961a Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/d

[5/6] couch commit: updated refs/heads/master to 2ad85bc

2016-09-20 Thread iilyak
Define COUCHDB_VERSION macro Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/7c5615ab Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/7c5615ab Diff: http://git-wip-us.apache.org/repos/asf/couchd

[2/2] couch commit: updated refs/heads/master to f129308

2016-09-20 Thread iilyak
Merge remote branch 'cloudant:74046-authentication_db-should-be-sysdb' This closes #198 Signed-off-by: ILYA Khlopotov Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/f129308c Tree: http://git-wip-us.apache.o

[1/2] couch commit: updated refs/heads/master to f129308

2016-09-20 Thread iilyak
Repository: couchdb-couch Updated Branches: refs/heads/master 2ad85bcfc -> f129308c4 Make sure clustered authentication_db is sys_db Fixes the case when the following are configured to something other than _users - chttpd_auth.authentication_db - couch_httpd_auth.authentication_db Introduce

[1/3] documentation commit: updated refs/heads/master to da58524

2016-09-20 Thread iilyak
Repository: couchdb-documentation Updated Branches: refs/heads/master a135f2fe8 -> da5852440 Document users_db_suffix Project: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/commit/5a5ad398 Tree: http://g

[2/3] documentation commit: updated refs/heads/master to da58524

2016-09-20 Thread iilyak
Remove authentication_db and add users_db_suffix Project: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/commit/dab0d9e0 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/tree/dab0d9e0 Diff:

[3/3] documentation commit: updated refs/heads/master to da58524

2016-09-20 Thread iilyak
Merge remote branch 'cloudant:document-users_db_suffix' This closes #66 Signed-off-by: ILYA Khlopotov Project: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/commit/da585244 Tree: http://git-wip-us.apache.

[1/2] chttpd commit: updated refs/heads/master to 53459ab

2016-10-05 Thread iilyak
Repository: couchdb-chttpd Updated Branches: refs/heads/master 297493f29 -> 53459aba5 Handle disconnect when receiving body When any error happen on an underlying socket mochiweb uses exit(normal). Add catch for exit:normal and convert it to exit({bad_request, <<"Incomplete">>}). COUCHDB-3158

[2/2] chttpd commit: updated refs/heads/master to 53459ab

2016-10-05 Thread iilyak
Merge remote branch 'cloudant:69425-handle-truncated-req-in-recv_body' This closes #140 Signed-off-by: ILYA Khlopotov Project: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/commit/53459aba Tree: http://git-wip-us.apache

[2/2] couch commit: updated refs/heads/master to 7dca415

2016-10-05 Thread iilyak
Merge remote branch 'cloudant:69425-handle-truncated-req-in-recv_body' This closes #200 Signed-off-by: ILYA Khlopotov Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/7dca4157 Tree: http://git-wip-us.apache.o

[1/2] couch commit: updated refs/heads/master to 7dca415

2016-10-05 Thread iilyak
Repository: couchdb-couch Updated Branches: refs/heads/master 6997c3c23 -> 7dca41578 Adding test suite for trancated _update COUCHDB-3158 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/570376b4 Tree: http

[2/2] couch commit: updated refs/heads/master to 01c2b5c

2016-10-05 Thread iilyak
Merge remote branch 'cloudant:fix-find_newest_header-type-spec' This closes #203 Signed-off-by: ILYA Khlopotov Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/01c2b5ce Tree: http://git-wip-us.apache.org/repo

[1/2] couch commit: updated refs/heads/master to 01c2b5c

2016-10-05 Thread iilyak
Repository: couchdb-couch Updated Branches: refs/heads/master 7dca41578 -> 01c2b5ce9 update typespec of find_newest_header Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/be236b9a Tree: http://git-wip-us.ap

[2/2] couchdb-couch-epi git commit: Merge remote branch 'DeadZen:patch-1'

2016-10-14 Thread iilyak
Merge remote branch 'DeadZen:patch-1' This closes #20 Signed-off-by: ILYA Khlopotov Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-epi/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-epi/commit/60e7f808 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch

[1/2] couchdb-couch-epi git commit: Update README.md

2016-10-14 Thread iilyak
Repository: couchdb-couch-epi Updated Branches: refs/heads/master f6ad55d80 -> 60e7f8085 Update README.md Fix a few typos and such Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-epi/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-epi/commit/8f0c826d Tree: http

[1/3] couch commit: updated refs/heads/master to 189af37

2016-10-21 Thread iilyak
Repository: couchdb-couch Updated Branches: refs/heads/master fb12795de -> 189af37a8 Add couch_debug:opened_files_by_regexp/1 couch_debug:opened_files_by_regexp is an efficient way to find out list of file descriptors or couch_file processes which path matches given regexp Project: http://gi

[3/3] couch commit: updated refs/heads/master to 189af37

2016-10-21 Thread iilyak
Merge remote branch 'cloudant:add-couch_debug-opened_files_by_regexp' This closes #207 Signed-off-by: ILYA Khlopotov Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/189af37a Tree: http://git-wip-us.apache.or

[2/3] couch commit: updated refs/heads/master to 189af37

2016-10-21 Thread iilyak
Add couch_debug:opened_files_contains/1 couch_debug:opened_files_contains is an efficient way to find out list of file descriptors or couch_file processes which path contains given substring. Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/

[1/2] couch-mrview commit: updated refs/heads/master to e875745

2016-11-02 Thread iilyak
Repository: couchdb-couch-mrview Updated Branches: refs/heads/master 853c60805 -> e875745af exceeded_recompact_retry_count: add DbName/IdxName Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/commit/

[2/2] couch-mrview commit: updated refs/heads/master to e875745

2016-11-02 Thread iilyak
Merge remote branch 'cloudant:improve-exceeded_recompact_retry_count-error-message' This closes #59 Signed-off-by: ILYA Khlopotov Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/commit/e875745a Tree

[1/2] couch commit: updated refs/heads/master to bd64fa1

2016-11-07 Thread iilyak
Repository: couchdb-couch Updated Branches: refs/heads/master 189af37a8 -> bd64fa170 Include file_path on errors from couch_file Add PathFile as part of a reason for following errors: - read_beyond_eof - exceed_pread_limit exceptions Project: http://git-wip-us.apache.org/repos/asf/couchdb-

[2/2] couch commit: updated refs/heads/master to bd64fa1

2016-11-07 Thread iilyak
Merge remote branch 'cloudant:log_filepath_on_errors' This closes #210 Signed-off-by: ILYA Khlopotov Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/bd64fa17 Tree: http://git-wip-us.apache.org/repos/asf/couc

[2/2] couch commit: updated refs/heads/master to 7dbc670

2016-11-10 Thread iilyak
Merge remote branch 'cloudant:75431-truncate-revs-to-revs_limit' This closes #205 Signed-off-by: ILYA Khlopotov Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/7dbc670d Tree: http://git-wip-us.apache.org/rep

[1/2] couch commit: updated refs/heads/master to 7dbc670

2016-11-10 Thread iilyak
Repository: couchdb-couch Updated Branches: refs/heads/master b4cd6709e -> 7dbc670d6 Truncate revs returned from couch_db:open_doc_revs Return max revs_limit revisions from couch_db:open_doc_revs. COUCHDB-3193 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http:/

[1/2] couch commit: updated refs/heads/master to 8f53c1f

2016-11-11 Thread iilyak
Repository: couchdb-couch Updated Branches: refs/heads/master 7dbc670d6 -> 8f53c1fc9 Allow fixing users' documents Allow adding missing fields: - type - roles Allow update of the type field from incorrect value to the correct one (currently it suppose to have value 'user'). COUCHDB-3231 Pr

[2/2] couch commit: updated refs/heads/master to 8f53c1f

2016-11-11 Thread iilyak
Merge remote branch 'cloudant:78142-allow-user-to-correct-invalid-user-docs' This closes #211 Signed-off-by: ILYA Khlopotov Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/8f53c1fc Tree: http://git-wip-us.ap

[1/2] chttpd commit: updated refs/heads/master to d6282b0

2016-11-11 Thread iilyak
Repository: couchdb-chttpd Updated Branches: refs/heads/master c1f035f1b -> d6282b03e Handle error terms from fabric The fabric returns errors as {Class, Reason, Stack} (see fabric_util:error_info/2). Add the clause to error_info to handle it. COUCHDB-3195 Project: http://git-wip-us.apache.

[2/2] chttpd commit: updated refs/heads/master to d6282b0

2016-11-11 Thread iilyak
Merge remote branch 'cloudant:71810-handle-errors-terms-from-fabric' This closes #146 Signed-off-by: ILYA Khlopotov Project: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/commit/d6282b03 Tree: http://git-wip-us.apache.o

[1/2] couch commit: updated refs/heads/master to ac69856

2016-11-11 Thread iilyak
Repository: couchdb-couch Updated Branches: refs/heads/master 8f53c1fc9 -> ac698562b Add test suite for handling errors from fabric COUCHDB-3195 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/2f26dd23 Tre

[2/2] couch commit: updated refs/heads/master to ac69856

2016-11-11 Thread iilyak
Merge remote branch 'cloudant:71810-handle-errors-terms-from-fabric' This closes #206 Signed-off-by: ILYA Khlopotov Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/ac698562 Tree: http://git-wip-us.apache.org

[1/3] fabric commit: updated refs/heads/master to f427ad0

2016-11-14 Thread iilyak
Repository: couchdb-fabric Updated Branches: refs/heads/master fb4b6b3f9 -> f427ad0da Revert "Merge remote-tracking branch 'banjiewen/stale-stable-update'" This reverts commit 508122c52731a9eac3e83f8d727f2355f019fe1f, reversing changes made to d68a00fdeba9113bd1a3dd41d8e546b05bb2e533. Projec

[3/3] fabric commit: updated refs/heads/master to f427ad0

2016-11-14 Thread iilyak
Merge remote branch 'cloudant:77984-upgrade-mrargs-record-phase1' This closes #77 Signed-off-by: ILYA Khlopotov Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/f427ad0d Tree: http://git-wip-us.apache.org/r

[2/3] fabric commit: updated refs/heads/master to f427ad0

2016-11-14 Thread iilyak
Compatibility clause for the record upgrade Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/bed5c67f Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/tree/bed5c67f Diff: http://git-wip-us.apache.or

[2/3] fabric commit: updated refs/heads/master to 9f82e5b

2016-11-14 Thread iilyak
Revert "Revert "Merge remote-tracking branch 'banjiewen/stale-stable-update'"" This reverts commit a8e0e9549bb2a1181538ae433f1de78abadc41d5. Note: Re-aplying previously reverted merge Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo Commit: http://git-wip-us.apache.org/repos/

[3/3] fabric commit: updated refs/heads/master to 9f82e5b

2016-11-14 Thread iilyak
Merge remote branch 'cloudant:77984-upgrade-mrargs-record-phase2' This closes #78 Signed-off-by: ILYA Khlopotov Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/9f82e5b8 Tree: http://git-wip-us.apache.org/r

[1/3] fabric commit: updated refs/heads/master to 9f82e5b

2016-11-14 Thread iilyak
Repository: couchdb-fabric Updated Branches: refs/heads/master f427ad0da -> 9f82e5b84 Upgrade #mrargs{} record Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/f14cd785 Tree: http://git-wip-us.apache.org/r

[1/2] fabric commit: updated refs/heads/master to 5b74e56

2016-11-16 Thread iilyak
Repository: couchdb-fabric Updated Branches: refs/heads/master 9f82e5b84 -> 5b74e56a2 Add `{error, Reason}` to typespecs `fabric:design_docs/1` and `all_docs/5` can return `{error, Reason}` Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo Commit: http://git-wip-us.apache.o

[2/2] fabric commit: updated refs/heads/master to 5b74e56

2016-11-16 Thread iilyak
Merge remote branch 'cloudant:fix-typespecs' This closes #79 Signed-off-by: ILYA Khlopotov Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/5b74e56a Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fabr

[1/2] fabric commit: updated refs/heads/master to 205064a

2016-11-17 Thread iilyak
Repository: couchdb-fabric Updated Branches: refs/heads/master 5b74e56a2 -> 205064aa5 Use upgraded #mrargs{} instead of old one Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/863b8d96 Tree: http://git-wi

[2/2] fabric commit: updated refs/heads/master to 205064a

2016-11-17 Thread iilyak
Merge remote branch 'cloudant:77984-fixup' This closes #80 Signed-off-by: ILYA Khlopotov Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/205064aa Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fabric

[2/2] couch-mrview commit: updated refs/heads/master to f4aaf8d

2016-11-18 Thread iilyak
Merge remote branch 'cloudant:77867-add-indexer-pid-to-task-status' This closes #62 Signed-off-by: ILYA Khlopotov Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/commit/f4aaf8de Tree: http://git-wip-

[1/2] couch-mrview commit: updated refs/heads/master to f4aaf8d

2016-11-18 Thread iilyak
Repository: couchdb-couch-mrview Updated Branches: refs/heads/master e875745af -> f4aaf8de5 Add reference to indexer Pid to task status When we run re-compaction stage we start second index updater from view compactor. In this case couch_task_status:all would return two identical entries for t

[2/2] couch-mrview commit: updated refs/heads/master to 15a1ae9

2016-12-02 Thread iilyak
Merge remote branch 'cloudant:77867-convert-pid-to-binary' This closes #63 Signed-off-by: ILYA Khlopotov Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/commit/15a1ae92 Tree: http://git-wip-us.apache

[1/2] couch-mrview commit: updated refs/heads/master to 15a1ae9

2016-12-02 Thread iilyak
Repository: couchdb-couch-mrview Updated Branches: refs/heads/master 5899436ae -> 15a1ae928 Convert pid of indexer to binary This is a fixup for https://github.com/apache/couchdb-couch-mrview/pull/62 Properties passed to couch_task_status:add_task cannot contain complex types. Because the stat

[2/2] couch commit: updated refs/heads/master to e928e83

2016-02-16 Thread iilyak
Merge remote-tracking branch 'github/pr/135' Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/e928e83b Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/e928e83b Diff: http://git-wip-us.apache.org/

[1/2] couch commit: updated refs/heads/master to e928e83

2016-02-16 Thread iilyak
Repository: couchdb-couch Updated Branches: refs/heads/master f3b7f5a47 -> e928e83bd Add couch_debug:opened_files/0 This function is for debugging purposes only. It iterates through all open ports and returns file descriptor and filename correspondent to every port. Project: http://git-wip-u

[2/2] couch commit: updated refs/heads/master to d08ce07

2016-02-16 Thread iilyak
Merge remote-tracking branch 'github/pr/140' Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/d08ce076 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/d08ce076 Diff: http://git-wip-us.apache.org/

[1/2] couch commit: updated refs/heads/master to d08ce07

2016-02-16 Thread iilyak
Repository: couchdb-couch Updated Branches: refs/heads/master e928e83bd -> d08ce076f Fix test_util:with_process_restart - The order of arguments is incorrect. - Return the result of stop_sync from with_process_restart/3 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commi

[1/3] couch commit: updated refs/heads/master to a0041fb

2016-02-16 Thread iilyak
Repository: couchdb-couch Updated Branches: refs/heads/master d08ce076f -> a0041fbf8 Comment out flaky test. While working on the issue test suite was re-enabled. It passes locally. However one of the test cases fails in other environments so commenting out that flaky test for now. Project:

[3/3] couch commit: updated refs/heads/master to a0041fb

2016-02-16 Thread iilyak
Merge branch 'github/pr/139' Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/a0041fbf Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/a0041fbf Diff: http://git-wip-us.apache.org/repos/asf/couchd

[2/3] couch commit: updated refs/heads/master to a0041fb

2016-02-16 Thread iilyak
Propagate db delete event to changes callback Not propagating the `delete` event to the changes callback causes db to stay open when it is deleted in the presence of `continuous` requests to _changes feed. This in its turn causes couch_file to stay open until the connection is closed by the client

[44/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Pass Stack to couch_httpd_handler:start_link Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/d2b09732 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/d2b09732 Diff: http://git

[13/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Remove equivalent copy of etag_respond/3 from original Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/8e243539 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/8e243539 Diff:

[38/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Use Stack to dispatch to correct auth_module Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/58ac4f60 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/58ac4f60 Diff: http://git

[03/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Bring accepted_encodings/1 from original Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/e040c01a Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/e040c01a Diff: http://git-wip

[25/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Extract add_headers function Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/79084eaa Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/79084eaa Diff: http://git-wip-us.apache.o

[05/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Bring validate_host/1 from original Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/63be3e75 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/63be3e75 Diff: http://git-wip-us.a

[50/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Remove iolist_size(Data) == 0 case from send_chunk This case is handled by start_delayed_response functions. Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/e44a372e Tree: http://git-wip-us.apache

[04/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Convert case into clause for body/1 as in original Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/8c5a833e Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/8c5a833e Diff: http

[27/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Extract maybe_log_response function Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/460d75de Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/460d75de Diff: http://git-wip-us.a

[11/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Bring start_response/3 from original Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/09d02456 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/09d02456 Diff: http://git-wip-us.

[09/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Remove equivalent copy of body/1 from original Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/4d4b1a39 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/4d4b1a39 Diff: http://g

[49/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Fix dispatch to handle_error hook Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/3e6eda7f Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/3e6eda7f Diff: http://git-wip-us.apa

[43/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Merge differences in catch_error from original - catch_error(_HttpReq, exit, normal) - catch_error(HttpReq, throw, unacceptable_encoding) - catch_error(HttpReq, throw, bad_accept_encoding_value) - catch_error(HttpReq, exit, snappy_nif_not_loaded) Project: http://git-wip-us.apache.org/repos/a

[12/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Remove equivalent copy of etag_match/2 from original Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/36f13a11 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/36f13a11 Diff: ht

[16/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Merge the diff for send_chunk/2 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/7c335ffe Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/7c335ffe Diff: http://git-wip-us.apach

[29/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Extract maybe_abort_head_request Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/f3ed8094 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/f3ed8094 Diff: http://git-wip-us.apac

[32/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Extract get_stack_config/1 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/2731706c Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/2731706c Diff: http://git-wip-us.apache.org

[46/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Use mock since we don't start epi on tests Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/bdca56a8 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/bdca56a8 Diff: http://git-w

[23/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Merge the diff for send_chunked_error/2 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/7f7ff5a4 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/7f7ff5a4 Diff: http://git-wip-

[35/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Strip scheme out of Host for cors_section Value returned by `couch_httpd_vhost:host/1` might not contain scheme. The cors section is named after vhost name (i.e. without scheme). For example: [cors:partner.com] methods = headers = exposed_headers = origins = http://restricted.

[40/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Refactor couch_httpd_config_listener Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/66ce6af0 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/66ce6af0 Diff: http://git-wip-us.

[33/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Extract set_socket_options/2 function Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/e48282fe Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/e48282fe Diff: http://git-wip-us

[47/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Export parse_multipart_request/3 for replicator Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/c4577408 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/c4577408 Diff: http://

[45/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Use cors_config for 'credentials' setting The 'credentials' setting should be configurable per vhost. COUCHDB-2945 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/cfbd7f7b Tree: http://git-wip-us

[17/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Remove no longer needed function from original Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/680639ee Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/680639ee Diff: http://g

[39/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Set stack in #httpd_resp{} Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/265c82c4 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/265c82c4 Diff: http://git-wip-us.apache.org

[19/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Merge the diff for verify_is_server_admin/1 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/d2c5f480 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/d2c5f480 Diff: http://git-

[48/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Plug couch_epi Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/b208d8e4 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/b208d8e4 Diff: http://git-wip-us.apache.org/repos/asf/c

[21/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Merge the diff for send_error/2 and send_error/4 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/d38f6e96 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/d38f6e96 Diff: http:/

[26/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Use basic_headers/2 in serve_file Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/2bde01e3 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/2bde01e3 Diff: http://git-wip-us.apa

[42/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Treat value passed in Origin as case sensitive According to CORS spec here https://www.w3.org/TR/cors The value of the Origin header is not a case-sensitive COUCHDB-2945 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couc

[15/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Bring etag_maybe/2 from original Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/cf6dead8 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/cf6dead8 Diff: http://git-wip-us.apac

[18/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Merge the diff for error_info/1 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/8e0b3f4b Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/8e0b3f4b Diff: http://git-wip-us.apach

[31/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Remove no longer need function from original Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/ebf1b53b Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/ebf1b53b Diff: http://git

[01/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Repository: couchdb-couch-httpd Updated Branches: refs/heads/split_out_httpd_stack [created] e44a372ee Remove exact copy of absolute_uri/2 from original Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd

[28/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Bring support needed for couch_httpd_rewrite Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/f6b3f96b Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/f6b3f96b Diff: http://git

[14/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Merge start_chunked_response/3 and send_response/4 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/38073bb9 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/38073bb9 Diff: http

[06/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Merge the diff for start_response_length/4 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/305e54b7 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/305e54b7 Diff: http://git-w

[37/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Use functions from couch_httpd app in tests Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/1065a710 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/1065a710 Diff: http://git-

[07/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Move parse_multipart_request/3 into couch_httpd_multipart Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/1646437c Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/1646437c Dif

[34/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Use Stack to select http handlers Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/675e3c70 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/675e3c70 Diff: http://git-wip-us.apa

[41/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Introduce vhosts configuration into CORS In order to remove code duplication we move vhosts support from couch_http_cors into chttpd_cors. We also dispatch chttpd:send_response to couch_http which does call chttpd_cors:headers. In order to avoid double injection of CORS headers we check for exista

[08/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Remove equivalent copy of maybe_decompress/1 from original Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/17375fd0 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/17375fd0 Di

[02/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Extract host_for_request/1 as it is done in original Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/9b3b8b5a Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/9b3b8b5a Diff: ht

[24/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372

2016-03-01 Thread iilyak
Exatract handle_response function Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/e7647e38 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/e7647e38 Diff: http://git-wip-us.apa

<    1   2   3   4   5   6   7   8   >