1
0
Fork 0

Fixed formatting in ProtocolStreamReader

pull/31/head
Stephan Unverwerth 2016-09-22 23:18:03 +02:00
parent e6b48c751e
commit 4d6774f09d
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class ProtocolStreamReader implements ProtocolReader
{ {
$this->input = $input; $this->input = $input;
Loop\addReadStream($this->input, function() { Loop\addReadStream($this->input, function() {
while(($c = fgetc($this->input)) !== false) { while(($c = fgetc($this->input)) !== false) {
$this->buffer .= $c; $this->buffer .= $c;
switch ($this->parsingMode) { switch ($this->parsingMode) {
case ParsingMode::HEADERS: case ParsingMode::HEADERS: