inform about redircetions
This commit is contained in:
parent
dbbb0c2f13
commit
043c85fa97
@ -78,6 +78,10 @@ class AsynchronousFileReader {
|
||||
$error = self::RESPONSE_ERROR;
|
||||
$result = $this->parseResult($socket);
|
||||
|
||||
if (intval($socket->header["status"]) > 300 && intval($socket->header["status"]) < 310) {
|
||||
$this->maniaControl->errorHandler->triggerDebugNotice("HTTP Error, Code:" . $socket->header["status"] . "URL: " . $socket->url);
|
||||
}
|
||||
|
||||
} else if ($socket->streamBuffer == '') {
|
||||
$error = self::NO_DATA_ERROR;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user