check NULL package after one process

This commit is contained in:
2019-12-16 17:07:18 +08:00
parent e5088ffbba
commit bc7c19dc74

View File

@@ -78,6 +78,8 @@ class Netrecv:
return
data += new_data
while True: # process sticky package
if not data:
break
dp = Datapack(check_head=False)
dp.encode_data = data
try: