wordpress-xmlrpc-client icon indicating copy to clipboard operation
wordpress-xmlrpc-client copied to clipboard

throw an error if response is larger than a limit of 10MB for libxml 2.7.9+

Open igorveremsky opened this issue 6 years ago • 0 comments

As Alwin commented at http://php.net/manual/en/function.xmlrpc-decode.php: screenshot_166 there is a limit of 10M for response it it exceeded xmlrpc_decode() will return NULL and most of programmers will not know what they do wrong, i spend all day for understand it :) So, i think it can be loged or cathed by this extension and throw an error that max size of response exceeded.

igorveremsky avatar Mar 07 '18 16:03 igorveremsky