Skip to content

Commit

Permalink
Reset $cmd_num when connection is closed
Browse files Browse the repository at this point in the history
We want command ID counter to start over when a new connection is being made
  • Loading branch information
alecpl committed Jan 8, 2025
1 parent 3e0fb29 commit 6e216b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions program/lib/Roundcube/rcube_imap_generic.php
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ protected function closeSocket()
if ($this->fp) {
fclose($this->fp);
$this->fp = null;
$this->cmd_num = 0;
}
}

Expand Down

0 comments on commit 6e216b5

Please sign in to comment.