mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
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:
parent
f5adee3f6e
commit
67d78c87c9
@ -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);
|
||||
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user