]> git.ipfire.org Git - thirdparty/wireguard-go.git/commitdiff
Removed profiler code
authorMathias Hall-Andersen <mathias@hall-andersen.dk>
Fri, 1 Dec 2017 23:00:45 +0000 (00:00 +0100)
committerMathias Hall-Andersen <mathias@hall-andersen.dk>
Fri, 1 Dec 2017 23:00:45 +0000 (00:00 +0100)
src/main.go

index 8bca78c9b38b1d6d6c17854542772a44d2a43f04..b12bb09ba7e3150487871056268cb6dd4e450e38 100644 (file)
@@ -8,10 +8,6 @@ import (
        "strconv"
 )
 
-import _ "net/http/pprof"
-import "net/http"
-import "log"
-
 const (
        ExitSetupSuccess = 0
        ExitSetupFailed  = 1
@@ -29,10 +25,6 @@ func printUsage() {
 
 func main() {
 
-       go func() {
-               log.Println(http.ListenAndServe("localhost:6060", nil))
-       }()
-
        // parse arguments
 
        var foreground bool