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) );
}
}