Skip to content
This repository was archived by the owner on Feb 12, 2020. It is now read-only.
This repository was archived by the owner on Feb 12, 2020. It is now read-only.

not close socket after publish? #39

@tt82238971

Description

@tt82238971

in source code , use fsockopen() in function getSocket() in Connection.php, when read/write message.
function publish() in file nsqphp.php, loop every conn do read/write.after success, return directly. have not any do for close socket.

when connect 2 server in one request, fd will more than 1024, lead to error.

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