Subject: | Apache::Session::Lock::File->clean reversed time comparison |
Apache::Session::Lock::File's clean method fails to clean old lock files due to reversed time comparison at line 136.
(stat($dir.'/'.$file))[8] - $now >= $time
will always be false since last access time - time() is going to be negative.
$now - (stat($dir.'/'.$file))[8]
should take care of it.