You've already forked ServerStatus
mirror of
https://github.com/cppla/ServerStatus.git
synced 2025-12-19 11:33:57 +08:00
防止bbr粘包
This commit is contained in:
@@ -294,8 +294,9 @@ if __name__ == '__main__':
|
||||
raise socket.error
|
||||
|
||||
print(data)
|
||||
data = byte_str(s.recv(1024))
|
||||
print(data)
|
||||
if data.find("You are connecting via") < 0:
|
||||
data = byte_str(s.recv(1024))
|
||||
print(data)
|
||||
|
||||
timer = 0
|
||||
check_ip = 0
|
||||
|
||||
Reference in New Issue
Block a user