Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

Commit

Permalink
Merge pull request #132 from noname007/master
Browse files Browse the repository at this point in the history
return after reconnect
  • Loading branch information
nmred committed Oct 20, 2017
2 parents b5ac153 + 08d8a31 commit 16b8a7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Kafka/Socket.php
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ public function connect()
$newData = @fread($this->stream, self::READ_MAX_LEN);
}else{
$this->reconnect();
return;
}
if ($newData) {
$this->read($newData);
Expand Down

0 comments on commit 16b8a7b

Please sign in to comment.