From e2940108d97d3d90bdc355134d5f887d9ce8eed5 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Wed, 14 Apr 2021 18:54:42 +0200 Subject: [PATCH] Fix connection not being closed correctly if the accumulated data limit is reached --- fstream-server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fstream-server.py b/fstream-server.py index 6a958ca..f8e7f7e 100644 --- a/fstream-server.py +++ b/fstream-server.py @@ -205,7 +205,7 @@ class inThread(threading.Thread): if accumulatedData > maxAccumulatedData and not thread.ignore: thread.ignore = True thread.queue.put((thread.closeThread,[],{})) - thread.connection.close() + thread.closeConnection() else: thread.queue.put(data)