msg: fix server issue
This commit is contained in:
parent
d81c5dff8d
commit
5270b53209
@ -56,7 +56,7 @@ class HandleClientConnectionThread(threading.Thread):
|
|||||||
time.sleep(args.sleep)
|
time.sleep(args.sleep)
|
||||||
response = string_generator(size=self.msg_size, chars=string.digits)
|
response = string_generator(size=self.msg_size, chars=string.digits)
|
||||||
start_time = datetime.datetime.now()
|
start_time = datetime.datetime.now()
|
||||||
self.connection.sendall(response).encode(ENCODING)
|
self.connection.sendall(response.encode(ENCODING))
|
||||||
buffer_data = ""
|
buffer_data = ""
|
||||||
|
|
||||||
elif len(buffer_data) > self.msg_size:
|
elif len(buffer_data) > self.msg_size:
|
||||||
|
Loading…
Reference in New Issue
Block a user