Updated Branches: refs/heads/1994-merge-rcouch 5b12577ee -> d936233c8 (forced update)
unbreak js test and display a report Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/2c783019 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/2c783019 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/diff/2c783019 Branch: refs/heads/1994-merge-rcouch Commit: 2c783019993c1c5f0ddb5802a2e6763bb05dbe10 Parents: 819ebcc Author: benoitc <[email protected]> Authored: Sun Jan 12 13:38:25 2014 +0100 Committer: Paul J. Davis <[email protected]> Committed: Wed Feb 12 21:05:51 2014 -0600 ---------------------------------------------------------------------- src/couch_httpd_misc_handlers.erl | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/blob/2c783019/src/couch_httpd_misc_handlers.erl ---------------------------------------------------------------------- diff --git a/src/couch_httpd_misc_handlers.erl b/src/couch_httpd_misc_handlers.erl index 1999e5e..57cc5ec 100644 --- a/src/couch_httpd_misc_handlers.erl +++ b/src/couch_httpd_misc_handlers.erl @@ -99,6 +99,7 @@ handle_restart_req(#httpd{method='POST'}=Req) -> ok = couch_httpd:verify_is_server_admin(Req), Result = send_json(Req, 202, {[{ok, true}]}), couch_server_sup:restart_core_server(), + couch_httpd_sup:reload_listeners(), Result; handle_restart_req(Req) -> send_method_not_allowed(Req, "POST").
