command-code-proxy-server icon indicating copy to clipboard operation
command-code-proxy-server copied to clipboard

[ERROR] Scanner error: bufio.Scanner: token too long

Open LeosBitto opened this issue 5 months ago • 0 comments

Sometimes I get "[ERROR] Scanner error: bufio.Scanner: token too long" which happens because bufio.Scanner has a hardcoded buffer limit of 1 MB at this line in proxy.go: scanner.Buffer(make([]byte, 64*1024), 1024*1024)

LeosBitto avatar Jun 16 '26 20:06 LeosBitto