Skip to content

Commit

Permalink
Fix swlib#10.
Browse files Browse the repository at this point in the history
  • Loading branch information
twose committed Sep 27, 2018
1 parent 580cf37 commit 106ebe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ public function recv()
} elseif ($statusCode === -2) {
$timeout = $this->getTimeout();
$message = "Request timeout! the server hasn't responded over the timeout setting({$timeout}s)!";
} elseif ($statusCode === 3) {
} elseif ($statusCode === -3) {
$message = 'Connection is forcibly cut off by the remote server';
} else {
$message = "Linux Code {$errCode}: " . swoole_strerror($errCode);
Expand Down

0 comments on commit 106ebe9

Please sign in to comment.