Ticket #1534. Serialize all the xmlrpc requests coming to the firewall. Seems such request can stomp into each other and create either corruption of xmlrpc request or other issues.

This commit is contained in:
Ermal 2011-05-17 21:18:33 +00:00
parent f5adee3f6e
commit 67d78c87c9

View File

@ -372,6 +372,8 @@ function get_notices_xmlrpc($raw_params) {
return $response;
}
$xmlrpclockkey = lock('xmlrpc', LOCK_EX);
/*****************************/
$server = new XML_RPC_Server(
array(
@ -412,4 +414,6 @@ $server = new XML_RPC_Server(
)
);
unlock($xmlrpclockkey);
?>