add maps over writefile method

This commit is contained in:
kremsy
2014-01-29 22:44:06 +01:00
committed by Steffen Schröder
parent 4dabf459a8
commit cef598cd3e
2 changed files with 31 additions and 22 deletions

View File

@ -278,7 +278,7 @@ class Client
$request = new Request($method, $args);
// Check if request is larger than 512 Kbytes
if ($request->getLength() > 512*1024-8)
if ($request->getLength() > 1024*1024-8) //TODO changed temporary to 1024 * 1024
{
throw new Exception('transport error - request too large!', -32700);
}