From: Matt Joiner Date: Wed, 19 Nov 2014 03:51:36 +0000 (-0600) Subject: util/loghttp: Don't implicitly expose pprof X-Git-Tag: v1.0.0~1508 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=7be828bb4cb622e6d48f7fe638d8da46b76fbbd5;p=btrtrc.git util/loghttp: Don't implicitly expose pprof --- diff --git a/util/loghttp.go b/util/loghttp.go index 399750aa..f222c41f 100644 --- a/util/loghttp.go +++ b/util/loghttp.go @@ -4,7 +4,6 @@ import ( "log" "net" "net/http" - _ "net/http/pprof" ) func LoggedHTTPServe(addr string) *http.ServeMux {