Closed shahruk10 closed 4 years ago
When trying to marshal a large response body, the bufio.Scanner returns token too long error here.
bufio.Scanner
token too long
WARN[0124] scanner err: bufio.Scanner: token too long
It would be good to have an option to set a larger buffer size via Scanner.Buffer() to allow reading in larger tokens.
When trying to marshal a large response body, the
bufio.Scanner
returnstoken too long
error here.It would be good to have an option to set a larger buffer size via Scanner.Buffer() to allow reading in larger tokens.