From 7221b1676ec4d8c6106be66f0b987ae2c8050a49 Mon Sep 17 00:00:00 2001 From: Rossen Georgiev Date: Sat, 1 Jun 2019 10:45:06 +0100 Subject: [PATCH] game_servers: tweak master_query chunk size --- steam/game_servers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/steam/game_servers.py b/steam/game_servers.py index 7e82263..55a0715 100644 --- a/steam/game_servers.py +++ b/steam/game_servers.py @@ -203,7 +203,7 @@ def query_master(filter_text=r'\nappid\500', max_servers=20, region=MSRegion.Wor while True: ms.send(req_prefix + next_ip + req_suffix) - data = StructReader(ms.recv(2048)) + data = StructReader(ms.recv(8196)) # chunk size needs to be multiple of 6 # verify response header if data.read(6) != b'\xFF\xFF\xFF\xFF\x66\x0A':