]> Sergey Matveev's repositories - btrtrc.git/commitdiff
util/loghttp: Don't implicitly expose pprof
authorMatt Joiner <anacrolix@gmail.com>
Wed, 19 Nov 2014 03:51:36 +0000 (21:51 -0600)
committerMatt Joiner <anacrolix@gmail.com>
Wed, 19 Nov 2014 03:51:36 +0000 (21:51 -0600)
util/loghttp.go

index 399750aad4d06f221c18a759095b0dbf9e1c45d4..f222c41f8258cceca6c21cdbcd39a4f3746536fb 100644 (file)
@@ -4,7 +4,6 @@ import (
        "log"
        "net"
        "net/http"
-       _ "net/http/pprof"
 )
 
 func LoggedHTTPServe(addr string) *http.ServeMux {