Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Fix async pending error #271

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

fuergaosi233
Copy link

fix #270

@aisk
Copy link
Member

aisk commented May 28, 2024

Please avoid formatting the code you are not touching.

@fuergaosi233 fuergaosi233 force-pushed the fix/fix-async-error branch from b1268ff to 994a6e9 Compare May 28, 2024 08:32
def set_handle(self, sock):
self.raw_sock = sock

def set_timeout(self, ms):
Copy link
Member

Choose a reason for hiding this comment

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

I think we still can implement this method, just set the instance fields, which can be used in open and read methods.

async def open(self):
addr = self.unix_socket or (self.host, self.port)
try:
if self.unix_socket:
Copy link
Member

Choose a reason for hiding this comment

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

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.

[BUG] Asynchronous Client Hangs When Connecting to Non-Existent IP
3 participants