diff --git a/README.md b/README.md index 9738d2bbf..d60eee786 100644 --- a/README.md +++ b/README.md @@ -556,7 +556,7 @@ See the [documentation on pprof][pprof] for details on how to use the profiler. When --quitquitquit is set, the admin server adds an endpoint at -/quitquitquit. The admin server exits gracefully when it receives a POST +/quitquitquit. The admin server exits gracefully when it receives a GET or POST request at /quitquitquit. [pprof]: https://pkg.go.dev/net/http/pprof. diff --git a/cmd/root.go b/cmd/root.go index 54ee40e00..9dbf0b963 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -288,7 +288,7 @@ Localhost Admin Server profiler at https://pkg.go.dev/net/http/pprof. When --quitquitquit is set, the admin server adds an endpoint at - /quitquitquit. The admin server exits gracefully when it receives a POST + /quitquitquit. The admin server exits gracefully when it receives a GET or POST request at /quitquitquit. Debug logging diff --git a/internal/proxy/proxy.go b/internal/proxy/proxy.go index 45cca4245..26d32af74 100644 --- a/internal/proxy/proxy.go +++ b/internal/proxy/proxy.go @@ -250,7 +250,7 @@ type Config struct { // Debug enables a debug handler on localhost. Debug bool // QuitQuitQuit enables a handler that will shut the Proxy down upon - // receiving a POST request. + // receiving a GET or POST request. QuitQuitQuit bool // DebugLogs enables debug level logging. DebugLogs bool