mirror of
https://github.com/outbackdingo/databunker.git
synced 2026-01-28 18:18:48 +00:00
use bigegr buffer
This commit is contained in:
@@ -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]))
|
||||
|
||||
Reference in New Issue
Block a user