Skip to content

Conversation

ShaneHarvey
Copy link
Member

PYTHON-4874 Fix async Windows KMS support

@@ -215,11 +215,11 @@ async def _async_receive_ssl(
while total_read < length:
try:
read = conn.recv_into(mv[total_read:])
if read == 0:
raise OSError("connection closed")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have to check for a 0-read first.

@ShaneHarvey ShaneHarvey requested a review from NoahStapp October 17, 2024 17:59
@ShaneHarvey ShaneHarvey merged commit 7e904b3 into mongodb:master Oct 17, 2024
37 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants