Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

RCOUCH-7: handle_bulk_get handler.

implement  the couchbase _bulk_get api so rcouch can be used easily by
couchbase-lite:

https://github.com/couchbase/sync_gateway/wiki/Bulk-GET
  • Loading branch information...
commit b92039a5a91eb0c3f24beccccb5f624f0ebbd148 1 parent 0e844f1
Benoit Chesneau benoitc authored
1  etc/rcouch/couch.ini
View
@@ -167,6 +167,7 @@ _temp_view = {couch_mrview_http, handle_temp_view_req}
_view_cleanup = {couch_mrview_http, handle_cleanup_req}
_random_doc = {couch_randomdoc_httpd, handle_req}
_spatial_cleanup = {couch_spatial_http, handle_cleanup_req}
+_bulk_get = {couch_httpd_bulk_get, handle_req}
; The external module takes an optional argument allowing you to narrow it to a
; single script. Otherwise the script name is inferred from the first path section
4 rebar.config.script
View
@@ -22,8 +22,8 @@ DepDescs = [
%% couchdb applications
{couch_collate, "couchdb-couch-collate", {branch, "1994-merge-rcouch"}},
- {couch, "couchdb-couch", {branch, "1994-merge-rcouch"}},
- {couch_httpd, "couchdb-couch-httpd", {branch, "1994-merge-rcouch"}},
+ {couch, "couchdb-couch", {branch, "maint"}},
+ {couch_httpd, "couchdb-couch-httpd", {branch, "maint"}},
{couch_index, "couchdb-couch-index", {branch, "1994-merge-rcouch"}},
{couch_mrview, "couchdb-couch-mrview", {branch, "1994-merge-rcouch"}},
{couch_replicator, "couchdb-couch-replicator", {branch, "1994-merge-rcouch"}},
2  test/etap/140-attachment-comp.t
View
@@ -31,7 +31,7 @@ main(_) ->
test() ->
test_util:start_couch(),
-erlang:put(addr, couch_config:get("httpd", "bind_address", "127.0.0.1")),
+ erlang:put(addr, couch_config:get("httpd", "bind_address", "127.0.0.1")),
erlang:put(port, integer_to_list(mochiweb_socket_server:get(couch_http,
port))),
Please sign in to comment.
Something went wrong with that request. Please try again.