Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.
This repository was archived by the owner on May 31, 2025. It is now read-only.

xmlrpcpp should use poll() for solving 1024 (FD_SETSIZE) clients problem in Linux #832

@mgrrx

Description

@mgrrx

xmlrpcpp uses select() for checking the open file descriptors, but this function can't check morethan FD_SETSIZE file descriptors in Linux. FD_SETSIZE is set to 1024 by default and increasing that value would require to rebuild the current kernel.

select's 'successor' poll() isn't limited by 1024, so replacing select() by poll() would fix that problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions