Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-117208: handle EAGAIN in non-blocking connect#134688

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
duaneg wants to merge3 commits intopython:main
base:main
Choose a base branch
Loading
fromduaneg:gh-117208

Conversation

duaneg
Copy link
Contributor

@duanegduaneg commentedMay 26, 2025
edited by bedevere-appbot
Loading

When callingconnect in non-blocking mode it fails with errno set to EINPROGRESS if the connection cannot be completed immediately. Except for UNIX domain sockets, on Linux, which fail with EAGAIN instead.

Fix the conditional check in the socket connection code to account for this lovely little inconsistency.

When calling ``connect`` in non-blocking mode it fails with errno set toEINPROGRESS if the connection cannot be completed immediately. Except for UNIXdomain sockets, on Linux, which fail with EAGAIN instead.Fix the conditional check in the socket connection code to account for thislovely little inconsistency.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@duaneg

[8]ページ先頭

©2009-2025 Movatter.jp