Subject: | RPC::XML::Server dies on very slow methods |
RPC::XML::Server dies on very slow methods without any message.
It happens on methods with execution time more than ~20 seconds on
Debian Lenny.
When the SIGPIPE is caught in the "process_request" function (as I see
it is the fix for the #54183 ticket), RPC::XML::Server dies on execution
of the following line:
-----------------------------------------------
$conn->close;
-----------------------------------------------
Placed it to "eval" block resolved this issue in most cases but not
always. I've resolved it by adding a local SIGPIPE handler into this
"eval" block.
OS: Debian 5.0
Perl: 5.10.0
RPC::XML: 0.74