From 78e725286b01d97b5fd1acb7abff45d7531b4964 Mon Sep 17 00:00:00 2001 From: gggeek Date: Mon, 2 Jan 2023 16:22:15 +0000 Subject: [PATCH] fix error code for no_http2 to be unique --- src/PhpXmlRpc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- 2.47.0