Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: branschen [...] gmail.com
Cc:
AdminCc:

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



Subject: error_response_header is not reset before _handle() is called
When an error occurs when calling a method, any subsequent call to the same method will immediately return the same error before even calling the method. The problem is solved by resetting error_response_header before calling _handle. RPC/Server.pm, line 125: + $self->error_response_header(0); if ($obj) { $res = $self->_handle($obj); unless ($self->error_response_header) { return $self->response( $self->response_header(200, $res) ); } }