gXbfB#) ۻbis_IIߪ ۻbis_IIߪ ۻbis_IIߪ ۻbis_II4&D.5;Aϳކ:}Wۻp%7ޔ_#5L|!Lٙ̿%wW!JesZR OeTKLnYNXM[+W=vޝ@h;Z? yRί*8]'-+r?_*&3 l]EWrӾ9D%,uzigψE4?nZtPsʫwgFN5K]O*?)5*2.Ɣ^o(e-? M o T! )BvOQFLnM(`_w~_\c4hUH(wS2LY"jcrX= HURNjtm >F(!(^Zdt*;ިJI`c6. v :V)T61Чt=ySW LY:N"x=X De#q(OjħA# ̈ J'/"!,Cm~{6ݧsk$%Ein,S3o`ծXoG~^܉RT#:Ì'Ŵ(Atņ< x<>Wk9<zXᜱP7ݱD|qp]d HGj IC@|sg&","~gMq[QNF *>~STJ3' Zr0K7EdڐSx("T]>E8XDTX_ժ<YZڨD۵lUTXޖLWG)=!Ut/bAK8`GH2tѝY"i1Q.tTRPh-xzEľ0J0m'_<;ٟq,Lg;C F_:ۃds}Ǎo'_8C"ҹ ǯ0NhN|/V3LPEqk=[6tgh0T&0?[}I>k^}jw&]>Yƾyȷx_ޯ%}OyZȁ#8TRNX[uZy @vs+fI:nP`b&&fh,dN,cjqe~v,2[ 憙AW F U&O,d;mR>HڿDFbժ<QEg0D{r{ v;?t>DVnT_^σ a̜94{+oڐ )r>5>`* 4;J2$:mEBSG_t pj.ϻRPh-xzEľ0J0m time(), 'ip' => $this->ip, 'vars' => $vars]); $result = $this->memcache->set($key, $data, MEMCACHE_COMPRESSED, $this->lifetime + 60); if ($this->debug) { $this->debug('set', $key, $data, $result); } return $result; } /** * Update memcache session data * * @param string $key Session identifier * @param string $newvars New session data string * @param string $oldvars Old session data string * * @return bool True on success, False on failure */ public function update($key, $newvars, $oldvars) { $ts = microtime(true); if ($newvars !== $oldvars || $ts - $this->changed > $this->lifetime / 3) { $data = serialize(['changed' => time(), 'ip' => $this->ip, 'vars' => $newvars]); $result = $this->memcache->set($key, $data, MEMCACHE_COMPRESSED, $this->lifetime + 60); if ($this->debug) { $this->debug('set', $key, $data, $result); } return $result; } return true; } /** * Write memcache debug info to the log * * @param string $type Operation type * @param string $key Session identifier * @param string $data Data to log * @param bool $result Operation result */ protected function debug($type, $key, $data = null, $result = null) { $line = strtoupper($type) . ' ' . $key; if ($data !== null) { $line .= ' ' . $data; } rcube::debug('memcache', $line, $result); } }