add pprof

This commit is contained in:
r0n1n7an 2023-12-13 09:38:47 +08:00
parent 0cd47265df
commit 60e184d8da
3 changed files with 3 additions and 2 deletions

Binary file not shown.

View File

@ -10,6 +10,7 @@ import (
"io"
"log"
"net/http"
_ "net/http/pprof"
"os"
"os/exec"
"path/filepath"

View File

@ -1,8 +1,8 @@
Settings:
ListenPort: 9000
HookScript: APIHOOK
# AddrMode: 0=IP Address; 1=Hostname
AddrMode: 1
# HostMode: 0=IP Address; 1=Hostname
HostMode: 1
ParamCheck: false
LogRequest: true
LogResponse: false