You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2015/09/02 20:34:35 UTC

[3/4] chttpd commit: updated refs/heads/master to 841ee1a

Register service

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/3ce2a1c1
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/tree/3ce2a1c1
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/diff/3ce2a1c1

Branch: refs/heads/master
Commit: 3ce2a1c17c01936966c5ae47d13b4d6691f8f06b
Parents: f46e9c8
Author: ILYA Khlopotov <ii...@ca.ibm.com>
Authored: Wed Sep 2 09:50:41 2015 -0700
Committer: ILYA Khlopotov <ii...@ca.ibm.com>
Committed: Wed Sep 2 09:50:41 2015 -0700

----------------------------------------------------------------------
 src/chttpd_sup.erl | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/3ce2a1c1/src/chttpd_sup.erl
----------------------------------------------------------------------
diff --git a/src/chttpd_sup.erl b/src/chttpd_sup.erl
index 62d00eb..00c4588 100644
--- a/src/chttpd_sup.erl
+++ b/src/chttpd_sup.erl
@@ -23,6 +23,10 @@ start_link(Args) ->
     supervisor:start_link({local,?MODULE}, ?MODULE, Args).
 
 init([]) ->
+    couch_epi:register_service(chttpd_auth),
+    couch_epi:register_service(chttpd_handlers),
+    couch_epi:register_service(chttpd),
+
     chttpd_config_listener:subscribe(),
     {ok, {{one_for_one, 3, 10}, [
         ?CHILD(chttpd, worker),