From: gggeek Date: Mon, 2 Jan 2023 16:22:15 +0000 (+0000) Subject: fix error code for no_http2 to be unique X-Git-Tag: 4.9.4~43 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=78e725286b01d97b5fd1acb7abff45d7531b4964;p=plcapi.git fix error code for no_http2 to be unique --- diff --git a/src/PhpXmlRpc.php b/src/PhpXmlRpc.php index d20cc806..aae219b8 100644 --- a/src/PhpXmlRpc.php +++ b/src/PhpXmlRpc.php @@ -27,13 +27,14 @@ class PhpXmlRpc 'multicall_recursion' => 12, 'multicall_noparams' => 13, 'multicall_notarray' => 14, - 'no_http2' => 15, + 'no_http2' => 19, // the following 3 are meant to give greater insight than 'invalid_return'. They use the same code for BC, // but you can override their value in your own code 'invalid_xml' => 2, 'xml_not_compliant' => 2, 'xml_parsing_error' => 2, + /// @todo verify: can these conflict with $xmlrpcerrxml? 'cannot_decompress' => 103, 'decompress_fail' => 104, 'dechunk_fail' => 105,