WordPress-streaming-xml-rpc
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:This plugin reduces the memory usage of the XML-RPC Endpoint in WordPress by introducing a new XML-RPC parser
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.

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。