use bigegr buffer

This commit is contained in:
root
2021-04-29 19:26:05 +00:00
parent 4d08d736bd
commit 618a147fbd

View File

@@ -63,7 +63,7 @@ func Clean(r *http.Request) {
// getRequestAddress this function extracts *http.Request address from the go-lang stacktrace string.
func getRequestAddress() (string, error) {
trace := make([]byte, 2048)
trace := make([]byte, 10240)
count := runtime.Stack(trace, false)
//fmt.Printf("Stack of %d bytes: %s\n", count, trace)
match := regexServeHTTP.FindStringSubmatch(string(trace[0:count]))