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) # ------------------------------------------------------------------------