aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2017-10-20 09:10:33 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2017-10-20 09:10:33 +0200
commit29c55245686d1ad03aa3bdd995a233cf66395d6c (patch)
tree7c8bd2481506a444e15ef61409a53f76ef75de32
parent17105b7866f5563c7a20f53165c132ea0b8c7bad (diff)
downloadFastcgi-29c55245686d1ad03aa3bdd995a233cf66395d6c.zip
Fastcgi-29c55245686d1ad03aa3bdd995a233cf66395d6c.tar.gz
Fastcgi-29c55245686d1ad03aa3bdd995a233cf66395d6c.tar.bz2
fix(Responder) Reset response header when sending.
This commit is similar to 4bf7908.
-rw-r--r--Responder.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Responder.php b/Responder.php
index d21899a..fc4f43b 100644
--- a/Responder.php
+++ b/Responder.php
@@ -180,6 +180,7 @@ class Responder extends Connection
public function send(array $headers, $content = null)
{
$this->_content = null;
+ $this->_headers = [];
$client = $this->getClient();
$client->connect();