diff --git a/src/HttpApi/Controllers/Controller.php b/src/HttpApi/Controllers/Controller.php index c4245d1..975e8ef 100644 --- a/src/HttpApi/Controllers/Controller.php +++ b/src/HttpApi/Controllers/Controller.php @@ -60,7 +60,7 @@ abstract class Controller implements HttpServerInterface { $this->requestBuffer .= $msg; - $this->checkContentLength(); + $this->checkContentLength($from); } protected function checkContentLength(ConnectionInterface $connection)