We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0e536c commit e1ade9aCopy full SHA for e1ade9a
1 file changed
Client/Request.php
@@ -128,6 +128,8 @@ public function handleData($data)
128
if (false !== strpos($this->buffer, "\r\n\r\n")) {
129
list($response, $bodyChunk) = $this->parseResponse($this->buffer);
130
131
+ $this->buffer = null;
132
+
133
$this->stream->removeListener('drain', array($this, 'handleDrain'));
134
$this->stream->removeListener('data', array($this, 'handleData'));
135
$this->stream->removeListener('end', array($this, 'handleEnd'));
0 commit comments