Author: ralfbecker
New Revision: 55135
URL: http://svn.stylite.de/viewvc/egroupware?rev=55135&view=rev
Log:
closing AS session right after creating/verifying it: fixes Ping requests blocks/slows downloading of attachments and other requests
Modified:
trunk/activesync/inc/class.activesync_backend.inc.php
— trunk/activesync/inc/class.activesync_backend.inc.php (original)
+++ trunk/activesync/inc/class.activesync_backend.inc.php Wed Feb 24 18:51:02 2016
@@ -74,6 +74,13 @@
$GLOBALS[‘egw’]->session->verify($this->egw_sessionID) &&
base64_decode(egw_cache::getSession(‘phpgwapi’, ‘password’)) === $password || // check if session contains password
($this->egw_sessionID = $GLOBALS[‘egw’]->session->create($username,$password,‘text’,true))); // true = no real session
+
-
// closing session right away to not block parallel requests,
-
// this is a must for Ping requests, others might give better performance
-
if ($this->authenticated) // && Request::GetCommand() == 'Ping')
-
{
-
$GLOBALS['egw']->session->commit_session();
-
}
// check if we support loose provisioning for that device
$response = $this->run_on_all_plugins('LooseProvisioning', array(), Request::GetDeviceID());
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs