Skip to content

Commit

Permalink
修复 isEnded 报错问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurunsoft committed Nov 8, 2019
1 parent 0b298e6 commit c4a522f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Server/Http/Message/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class Response extends \Imi\Util\Http\Response

public function __construct(\Imi\Server\Base $server, \Swoole\Http\Response $response)
{
$response->isEnded = false;
$this->swooleResponse = $response;
$this->serverInstance = $server;
parent::__construct();
Expand Down

0 comments on commit c4a522f

Please sign in to comment.