php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25228 "-503 Unclosed Token" when using XML_RPC_Server w/ non-PHP client
Submitted: 2003-08-24 17:52 UTC Modified: 2003-09-15 17:32 UTC
From: marshall at exclupen dot com Assigned:
Status: Closed Package: PEAR related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: marshall at exclupen dot com
New email:
PHP Version: OS:

 

 [2003-08-24 17:52 UTC] marshall at exclupen dot com
Description:
------------
"There's a bug in XML_RPC_Server, that, many clients simply ignore. However, some clients, in particular xmlrpc-c for C have big issues with this. When using this particular client, the error "-503 Unclosed Token" is received."
 -- http://revjim.net/item/9507/

The error seems to be caused because the "Content-length" header is sent instead of "Content-Length" in XML_RPC_Server::service().

I am adding inline documentation to the entire package and fixing this bug.  I will post a patch tonight or tomorrow.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-25 15:48 UTC] marshall at exclupen dot com
I moved XML_RPC_Client to RPC/Client.php too.
http://www.exclupen.com/misc/php/pear_patches/XML_RPC/Client.phps

Here's a diff for Server.php, RPC.php, and package.xml:
http://www.exclupen.com/misc/php/pear_patches/XML_RPC/XML_RPC.diff
 [2003-09-11 08:30 UTC] arnaud@php.net
reassigning, stig is very atm afaik.
 [2003-09-11 14:12 UTC] cox@php.net
Sorry I can not take care on this package too. Marshall, don't you want to maintain it and commit stuff by your self for it?

Please let me know, thanks

Tomas V.V.Cox

PD.- Be carefull with tabs instead of whitespaces :-)
 [2003-09-11 16:07 UTC] marshall at exclupen dot com
Yeah, I'll take it. I'll (re)request a PHP CVS account so I can patch this.
 [2003-09-15 17:32 UTC] marshall at exclupen dot com
This has been fixed in CVS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 10:01:28 2024 UTC