diff --git a/src/Server.php b/src/Server.php index 9c84bec..0af1e3b 100644 --- a/src/Server.php +++ b/src/Server.php @@ -73,8 +73,7 @@ public function __construct(ServerInterface $socket, LoopInterface $loop, Protoc public function handleConnection(ConnectionInterface $connection) { - $parser = $this->protocol->createResponseParser(); - $parser = new RequestParser(); + $parser = $this->protocol->createRequestParser(); $that = $this; $business = $this->business;