Skip Menu |

This queue is for tickets about the JSON-RPC CPAN distribution.

Report information
The Basics
Id: 38115
Status: new
Priority: 0/
Queue: JSON-RPC

People
Owner: Nobody in particular
Requestors: mike [...] fonolo.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: issue with JSON::RPC::Server and FastCGI
Date: Fri, 1 Aug 2008 21:47:42 -0400
To: <bug-JSON-RPC [...] rt.cpan.org>
From: "Mike" <mike [...] fonolo.com>
Using the JSON::RPC::Server::FastCGI module, due to the memory persistence, a defined system.describe function fails after the first request due to an concatenation bug. In RCP/Server.pm, _find_procedure(), $pkg retains the previous executions' addition of "::system", so the output ends up being. Request 1 - $pkg=FC::API - works! Request 2 - $pkg=FC::API::system - fails Request 3 - $pkg=FC::API::system::system - fails Request 4 - $pkg=FC::API::system::system::system = fails Etc, etc. Mike