This commit is contained in:
2020-12-15 17:26:07 +08:00
parent 7917d32ec9
commit 0281b4c197
4 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ class OnHandshake extends Callback
if ($node === null) {
return $this->disconnect($response, 502);
}
return $node->dispatch();
return $node->dispatch($request, $response);
} catch (\Throwable $exception) {
$this->addError($exception->getMessage());
return $this->disconnect($response, 500);