Hi,
I notice that we register the http server as `couch_httpd` instead of
`http` in processes while for https we are registering it as `https`.
Are teher any reason for that? It's a little inconsistent
I propose this patch to fix that:
diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/couch_httpd.erl
index 97475c5..51e2a11 100644
--- a/src/couchdb/couch_httpd.erl
+++ b/src/couchdb/couch_httpd.erl
@@ -35,7 +35,7 @@ start_link() ->
start_link(http).
start_link(http) ->
Port = couch_config:get("httpd", "port", "5984"),
- start_link(?MODULE, [{port, Port}]);
+ start_link(http, [{port, Port}]);
start_link(https) ->
Port = couch_config:get("ssl", "port", "6984"),
CertFile = couch_config:get("ssl", "cert_file", nil),
thoughts?
- benoƮt