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

Commit

Permalink
return after reconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
noname007 committed Oct 17, 2017
1 parent b5ac153 commit 08d8a31
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 08d8a31

Please sign in to comment.