Adjusted buffer to succsessfully read maximum messages
This commit is contained in:
parent
7f4a9d8158
commit
e29cc04203
|
@ -70,7 +70,7 @@ func main() {
|
|||
}
|
||||
|
||||
func readFromServer(conn net.Conn, ws *websocket.Conn) {
|
||||
buf := make([]byte, 512)
|
||||
buf := make([]byte, 70000)
|
||||
for {
|
||||
n, err := conn.Read(buf)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue
Block a user