Skip to content

Commit

Permalink
get->post
Browse files Browse the repository at this point in the history
Signed-off-by: Oleg Guba <oleg@dropbox.com>
  • Loading branch information
veshij committed Mar 17, 2020
1 parent 489fa20 commit ddcbffb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/root/operations/admin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,6 @@ modify different aspects of the server:

* :ref:`HTTP tap filter configuration <config_http_filters_tap_admin_handler>`

.. http:get:: /reopen_logs
.. http:post:: /reopen_logs
Triggers reopen of all access logs. Behavior is similar to SIGUSR1 handling.
2 changes: 1 addition & 1 deletion source/server/http/admin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1457,7 +1457,7 @@ AdminImpl::AdminImpl(const std::string& profile_path, Server::Instance& server)
{"/runtime_modify", "modify runtime values", MAKE_ADMIN_HANDLER(handlerRuntimeModify),
false, true},
{"/reopen_logs", "reopen access logs", MAKE_ADMIN_HANDLER(handlerReopenLogs), false,
false},
true},
},
date_provider_(server.dispatcher().timeSource()),
admin_filter_chain_(std::make_shared<AdminFilterChain>()) {}
Expand Down

0 comments on commit ddcbffb

Please sign in to comment.