Skip to content

too short time-out #3

@vincent3569

Description

@vincent3569

hi,

in your function

public function send($host, $port, $request, $responseLength = 1160) {
    $response = '';
    $fs = fsockopen($host, $port, $this->errorNumber, $this->errorString, 3);
    ...

the timeout delay of fsockopen seems to be too "short" : I have regulary some exception caused by this timeout.
maybe you should increase it to 5 or 10 (as WordPress Akismet plugin 2.5.6)

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