Skip to content

SSHHook - Add option to use poll #56391

@punx120

Description

@punx120

Description

Hi,

Related to #56372 and #56366, where i had some custom logic that kept trigger log file opened passe the completion of the trigger, one consequence was that select started to fail because it only supports FD up to 1024. I believe poll is not limited by that limitation, so I think it could be a good idea to have an option to switch to poll from select in SSHHook.

I worked on a proof of concept and happy to create a PR if people agree.

Thanks,
Sylvain

Use case/motivation

No response

Related issues

#56366 #56372

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions