Skip to content

Commit

Permalink
Latest Ultimate Web Scraper Toolkit.
Browse files Browse the repository at this point in the history
  • Loading branch information
cubiclesoft committed Apr 21, 2018
1 parent 242d6db commit 81ffa34
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion support/web_server.php
Expand Up @@ -860,7 +860,12 @@ public function Wait($timeout = false, $readfps = array(), $writefps = array(),
{
if ($client->lastts + $this->defaultclienttimeout < $ts)
{
if ($client->requests) $result["removed"][$id] = array("result" => $result2, "client" => $client);
if ($client->requests)
{
$result2 = array("success" => false, "error" => HTTP::HTTPTranslate("Client timed out. Most likely cause: Connection failure."), "errorcode" => "client_timeout");

$result["removed"][$id] = array("result" => $result2, "client" => $client);
}

$this->RemoveClient($id);
}
Expand Down

0 comments on commit 81ffa34

Please sign in to comment.