From 1c2b89b54d8d9d1c796b8391e41207da2a2f2423 Mon Sep 17 00:00:00 2001 From: Marcel Pociot Date: Wed, 27 Feb 2019 15:44:42 +0100 Subject: [PATCH] Fix content length bug --- src/HttpApi/Controllers/Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HttpApi/Controllers/Controller.php b/src/HttpApi/Controllers/Controller.php index c4245d109d..975e8ef47d 100644 --- a/src/HttpApi/Controllers/Controller.php +++ b/src/HttpApi/Controllers/Controller.php @@ -60,7 +60,7 @@ public function onMessage(ConnectionInterface $from, $msg) { $this->requestBuffer .= $msg; - $this->checkContentLength(); + $this->checkContentLength($from); } protected function checkContentLength(ConnectionInterface $connection)