-
Notifications
You must be signed in to change notification settings - Fork 977
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework 'wexecvp' replacing legacy 'select' in favor of 'poll' #4001
This commit addresses several issues with 'wexecvp': - Fix invalid double call to 'close' in case fd was higher than 'FD_SETSIZE'. This could lead to the invalidation of an unrelated fd resulting in asserts, as in issue #4001 and other instabilities. - Fix previous limitations of the legacy 'select 'impl that rendered the RESTAPI unusable when ProxySQL had more then 'FD_SETSIZE' fds opened. - Other minor improvements in function logic and interface.
- Loading branch information
Showing
3 changed files
with
158 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.