You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2014/08/17 04:25:18 UTC
[3/3] chttpd commit: updated refs/heads/windsor-merge to fe2a94e
Remove unused handle_restart_req
Project: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/commit/fe2a94eb
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/tree/fe2a94eb
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/diff/fe2a94eb
Branch: refs/heads/windsor-merge
Commit: fe2a94ebfc3149a4c1cdc07ef545ec7fa45b4351
Parents: 99b4bc7
Author: Paul J. Davis <pa...@gmail.com>
Authored: Sat Aug 16 21:25:03 2014 -0500
Committer: Paul J. Davis <pa...@gmail.com>
Committed: Sat Aug 16 21:25:03 2014 -0500
----------------------------------------------------------------------
src/chttpd_misc.erl | 7 -------
1 file changed, 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/fe2a94eb/src/chttpd_misc.erl
----------------------------------------------------------------------
diff --git a/src/chttpd_misc.erl b/src/chttpd_misc.erl
index a2719fd..c1c805d 100644
--- a/src/chttpd_misc.erl
+++ b/src/chttpd_misc.erl
@@ -19,7 +19,6 @@
handle_favicon_req/2,
handle_replicate_req/1,
handle_reload_query_servers_req/1,
- handle_restart_req/1,
handle_sleep_req/1,
handle_system_req/1,
handle_task_status_req/1,
@@ -213,12 +212,6 @@ choose_node(Key) when is_binary(Key) ->
choose_node(Key) ->
choose_node(term_to_binary(Key)).
-handle_restart_req(#httpd{method='POST'}=Req) ->
- couch_server_sup:restart_core_server(),
- send_json(Req, 200, {[{ok, true}]});
-handle_restart_req(Req) ->
- send_method_not_allowed(Req, "POST").
-
handle_reload_query_servers_req(#httpd{method='POST'}=Req) ->
ok = couch_proc_manager:reload(),
send_json(Req, 200, {[{ok, true}]});