Skip to content

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

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

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

Conversation

@alex-gv
Copy link

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

No description provided.

@alex-gv
Copy link
Author

alex-gv commented Mar 11, 2026

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