tmc / grpc-websocket-proxy

A proxy to transparently upgrade grpc-gateway streaming endpoints to use websockets
MIT License
553 stars 72 forks source link

Add option for setting bufio.Scanner buffer #19

Closed shahruk10 closed 4 years ago

shahruk10 commented 4 years ago

This commit adds a Proxy option that lets the user set a custom buffer for the bufio.Scanner used for reading the response body. This allows users to workaround 'token too long' errors when reading responses that have tokens larger than the default buffer size.

Fixes #18

tmc commented 4 years ago

Thanks for your contribution