command-code-proxy-server
command-code-proxy-server copied to clipboard
[ERROR] Scanner error: bufio.Scanner: token too long
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)