couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [1/4] chttpd commit: updated refs/heads/master to 841ee1a
Date Wed, 02 Sep 2015 18:34:33 GMT
Repository: couchdb-chttpd
Updated Branches:
  refs/heads/master 33f75ea2b -> 841ee1afe


Remove `ignore_providers` option

COUCHDB-2796


Project: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/commit/36455614
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/tree/36455614
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/diff/36455614

Branch: refs/heads/master
Commit: 36455614af8ac80c2d96725e3d6c8d3366386a6e
Parents: 2fba00d
Author: ILYA Khlopotov <iilyak@ca.ibm.com>
Authored: Tue Sep 1 06:25:12 2015 -0700
Committer: ILYA Khlopotov <iilyak@ca.ibm.com>
Committed: Tue Sep 1 06:25:12 2015 -0700

----------------------------------------------------------------------
 src/chttpd_auth.erl     | 2 +-
 src/chttpd_handlers.erl | 2 +-
 src/chttpd_plugin.erl   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/36455614/src/chttpd_auth.erl
----------------------------------------------------------------------
diff --git a/src/chttpd_auth.erl b/src/chttpd_auth.erl
index 35a4bd5..0746138 100644
--- a/src/chttpd_auth.erl
+++ b/src/chttpd_auth.erl
@@ -70,7 +70,7 @@ handle_session_req(Req) ->
 
 maybe_handle(Func, Args, Default) ->
     Handle = couch_epi:get_handle(?SERVICE_ID),
-    case couch_epi:apply(Handle, ?SERVICE_ID, Func, Args, [ignore_providers]) of
+    case couch_epi:apply(Handle, ?SERVICE_ID, Func, Args, []) of
         [] when is_function(Default) ->
             apply(Default, Args);
         [] ->

http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/36455614/src/chttpd_handlers.erl
----------------------------------------------------------------------
diff --git a/src/chttpd_handlers.erl b/src/chttpd_handlers.erl
index 85f8318..15d63d4 100644
--- a/src/chttpd_handlers.erl
+++ b/src/chttpd_handlers.erl
@@ -43,7 +43,7 @@ design_handler(HandlerKey, DefaultFun) ->
 %% ------------------------------------------------------------------
 
 collect(Func, Args) ->
-    Results = do_apply(Func, Args, [ignore_providers]),
+    Results = do_apply(Func, Args, []),
     [HandlerFun || HandlerFun <- Results, HandlerFun /= no_match].
 
 do_apply(Func, Args, Opts) ->

http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/36455614/src/chttpd_plugin.erl
----------------------------------------------------------------------
diff --git a/src/chttpd_plugin.erl b/src/chttpd_plugin.erl
index e174a68..30e1d32 100644
--- a/src/chttpd_plugin.erl
+++ b/src/chttpd_plugin.erl
@@ -41,7 +41,7 @@ handle_error(Error) ->
 %% ------------------------------------------------------------------
 
 with_pipe(Func, Args) ->
-    do_apply(Func, Args, [ignore_providers, pipe]).
+    do_apply(Func, Args, [pipe]).
 
 do_apply(Func, Args, Opts) ->
     Handle = couch_epi:get_handle(chttpd),


Mime
View raw message