Fixed formatting in ProtocolStreamReader
parent
e6b48c751e
commit
4d6774f09d
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue