改名
This commit is contained in:
@@ -227,6 +227,7 @@ class Response extends HttpService
|
|||||||
if (mb_strlen($sendData) >= 134217728) {
|
if (mb_strlen($sendData) >= 134217728) {
|
||||||
$this->response->end('');
|
$this->response->end('');
|
||||||
} else {
|
} else {
|
||||||
|
Snowflake::writeFile(storage('request.log'), $sendData);
|
||||||
$this->response->end($sendData);
|
$this->response->end($sendData);
|
||||||
}
|
}
|
||||||
$this->response = null;
|
$this->response = null;
|
||||||
|
|||||||
@@ -545,7 +545,8 @@ class Router extends HttpService implements RouterInterface
|
|||||||
if (!($node = $this->find_path(\request()))) {
|
if (!($node = $this->find_path(\request()))) {
|
||||||
return send(self::NOT_FOUND);
|
return send(self::NOT_FOUND);
|
||||||
}
|
}
|
||||||
send($response = $node->dispatch(), 200);
|
$response = $node->dispatch();
|
||||||
|
send($response, 200);
|
||||||
if (!$node->hasAfter()) {
|
if (!$node->hasAfter()) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user