Skip to content

Commit 6e216b5

Browse files
committed
Reset $cmd_num when connection is closed
We want command ID counter to start over when a new connection is being made
1 parent 3e0fb29 commit 6e216b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

program/lib/Roundcube/rcube_imap_generic.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@ protected function closeSocket()
426426
if ($this->fp) {
427427
fclose($this->fp);
428428
$this->fp = null;
429+
$this->cmd_num = 0;
429430
}
430431
}
431432

0 commit comments

Comments
 (0)