Adjusted buffer to succsessfully read maximum messages

This commit is contained in:
qowevisa 2024-06-07 12:29:30 +03:00
parent 7f4a9d8158
commit e29cc04203

View File

@ -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 {