From 7646c7535a4d1236ac98210a04cbb6ffba1c31bf Mon Sep 17 00:00:00 2001 From: jczic Date: Fri, 19 Jan 2024 01:20:58 +0100 Subject: [PATCH] Fix --- MicroWebSrv2/libs/XAsyncSockets.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MicroWebSrv2/libs/XAsyncSockets.py b/MicroWebSrv2/libs/XAsyncSockets.py index cd97e22..cb2cc66 100644 --- a/MicroWebSrv2/libs/XAsyncSockets.py +++ b/MicroWebSrv2/libs/XAsyncSockets.py @@ -679,6 +679,8 @@ def OnReadyForWriting(self) : self._onDataSent(self, self._onDataSentArg) except Exception as ex : raise XAsyncTCPClientException('Error when handling the "OnDataSent" event : %s' % ex) + else : + self._asyncSocketsPool.NotifyNextReadyForWriting(self, False) # ------------------------------------------------------------------------