Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
This plugin introduces a new implementation of the XML-RPC parser by using a "streaming" XML parser and reduces the memory usage during the parsing process of XML-RPC requests in WordPress. Ref: http://daniloercoli.wordpress.com/2012/04/18/xml-rpc-endpoint-in-wordpress/ It must have access to the sys tmp folder in which it stores temporary files. The plugins does the following: - Gets the php input stream (php://input) - Reads from the input stream, and parse the content by chunck (Get rid of $HTTP_RAW_POST_DATA). - Doesn't store any partial values, or the final parsed value in memory. It uses a tmp file in the tmp directory (Only for base64 data). - Changes the function mw_newMediaObject to use a path to the input file on disk rather accept the whole content as parameter. - Introduces a new function that copy the uploaded file to the right location.