Skip to content

Commit

Permalink
Fix GetOverlappedResult: More data available error
Browse files Browse the repository at this point in the history
  • Loading branch information
adambor committed Dec 16, 2024
1 parent d005bad commit e076b9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libagent/win_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit e076b9c

Please sign in to comment.