plugin updates
This commit is contained in:
@@ -93,9 +93,8 @@ class IXR_Message
|
||||
// Set XML parser to take the case of tags in to account
|
||||
xml_parser_set_option($this->_parser, XML_OPTION_CASE_FOLDING, false);
|
||||
// Set XML parser callback functions
|
||||
xml_set_object($this->_parser, $this);
|
||||
xml_set_element_handler($this->_parser, 'tag_open', 'tag_close');
|
||||
xml_set_character_data_handler($this->_parser, 'cdata');
|
||||
xml_set_element_handler($this->_parser, array($this, 'tag_open'), array($this, 'tag_close'));
|
||||
xml_set_character_data_handler($this->_parser, array($this, 'cdata'));
|
||||
|
||||
// 256Kb, parse in chunks to avoid the RAM usage on very large messages
|
||||
$chunk_size = 262144;
|
||||
|
||||
Reference in New Issue
Block a user