Project

General

Profile

« Previous | Next » 

Revision 67d78c87

Added by Ermal LUÇI about 14 years ago

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.

View differences:

usr/local/www/xmlrpc.php
372 372
	return $response;
373 373
}
374 374

  
375
$xmlrpclockkey = lock('xmlrpc', LOCK_EX);
376

  
375 377
/*****************************/
376 378
$server = new XML_RPC_Server(
377 379
        array(
......
412 414
        )
413 415
);
414 416

  
417
unlock($xmlrpclockkey);
418

  
415 419
?>

Also available in: Unified diff