Skip to content

hasResponse and stream_select - warnings #79

Open
@rbro

Description

@rbro

Sometimes when I kill scripts running fast-cgi-client, I get the below warning logged:

stream_select(): Unable to select [4]: Interrupted system call (max_fd=7)

This warning is coming from line 176 of src/Sockets/Socket.php in the hasResponse() function:

return (bool)stream_select( $reads, $writes, $excepts, 0, self::STREAM_SELECT_USEC );

Should that line be changed to @stream_select to suppress the warning?

Thanks for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions