From e076b9c7a0ff616554155fa208825be0aea1c294 Mon Sep 17 00:00:00 2001 From: adambor Date: Sun, 8 Dec 2024 18:19:37 +0100 Subject: [PATCH] Fix GetOverlappedResult: More data available error --- libagent/win_server.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libagent/win_server.py b/libagent/win_server.py index c0594029..11279820 100644 --- a/libagent/win_server.py +++ b/libagent/win_server.py @@ -182,6 +182,8 @@ def recv(self, size): except win32api.error as e: if e.winerror == winerror.ERROR_BROKEN_PIPE: return None + if e.winerror == winerror.ERROR_MORE_DATA: + return rbuf raise def send(self, data):