Skip to content

Fix freezing on select, if there is no active sockets#207

Open
alex-gv wants to merge 1 commit into
minio:mainfrom
alex-gv:main
Open

Fix freezing on select, if there is no active sockets#207
alex-gv wants to merge 1 commit into
minio:mainfrom
alex-gv:main

Conversation

@alex-gv

@alex-gv alex-gv commented Mar 11, 2026

Copy link
Copy Markdown

No description provided.

@alex-gv

alex-gv commented Mar 11, 2026

Copy link
Copy Markdown
Author

I had freezing on 'select' then I used MinIO C++ client SDK in my service.
It happen not offen, but it's very critical problem.
It's on Linux.

"select() blocks until at least one descriptor from the sets becomes ready. If no descriptor ever becomes ready, the program will hang forever.
According to the specification, if all three sets are empty and timeout is nullptr, select() will wait forever."

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.

1 participant