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

All Conn I/O is nonblocking for integration with Go's runtime network poller #183

Open
aoxn opened this issue Jan 6, 2025 · 2 comments
Open
Labels
help wanted Extra attention is needed

Comments

@aoxn
Copy link

aoxn commented Jan 6, 2025

// All Conn I/O is nonblocking for integration with Go's runtime network
// poller. Depending on the OS this might already be set but it can't hurt
// to set it again.
if err := unix.SetNonblock(fd, true); err != nil {
return nil, os.NewSyscallError("setnonblock", err)
}

@Code-Hex

@aoxn aoxn added the bug Something isn't working label Jan 6, 2025
@aoxn
Copy link
Author

aoxn commented Jan 6, 2025

@Code-Hex
Copy link
Owner

Code-Hex commented Jan 6, 2025

@aoxn Can you tell us what the problem is with this and what you want us to solve?

@Code-Hex Code-Hex added help wanted Extra attention is needed and removed bug Something isn't working labels Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants