aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2017-10-20 09:07:45 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2017-10-20 09:07:45 +0200
commit1eb22f59420442c4bff1adac1e3f8a9fd5a039bb (patch)
tree3d31b0588b9917fb4de8e172fc68a8e72cb3e58e
parent0bdc794f9e69a7618517a0ac7df34fe4b99a3724 (diff)
parent1cd8c625c005a8e0005728bf2fb81b0626dd253a (diff)
downloadFastcgi-1eb22f59420442c4bff1adac1e3f8a9fd5a039bb.zip
Fastcgi-1eb22f59420442c4bff1adac1e3f8a9fd5a039bb.tar.gz
Fastcgi-1eb22f59420442c4bff1adac1e3f8a9fd5a039bb.tar.bz2
Merge branch 'master' into pr/19
-rw-r--r--Responder.php2
-rw-r--r--composer.json6
2 files changed, 4 insertions, 4 deletions
diff --git a/Responder.php b/Responder.php
index 1a07cd9..2e01a37 100644
--- a/Responder.php
+++ b/Responder.php
@@ -179,6 +179,8 @@ class Responder extends Connection
*/
public function send(array $headers, $content = null, &$stderr = '')
{
+ $this->_content = null;
+
$client = $this->getClient();
$client->connect();
$client->setStreamBlocking(true);
diff --git a/composer.json b/composer.json
index 899dd1f..0112ba1 100644
--- a/composer.json
+++ b/composer.json
@@ -24,7 +24,8 @@
},
"require": {
"hoa/consistency": "~1.0",
- "hoa/exception" : "~1.0"
+ "hoa/exception" : "~1.0",
+ "hoa/socket" : "~1.0"
},
"require-dev": {
"hoa/test": "~2.0"
@@ -34,9 +35,6 @@
"Hoa\\Fastcgi\\": "."
}
},
- "suggest": {
- "hoa/socket": "Provide sockets."
- },
"extra": {
"branch-alias": {
"dev-master": "3.x-dev"