Skip Menu |

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

Report information
The Basics
Id: 34556
Status: open
Priority: 0/
Queue: RPC-XML

Owner: rjray [...]
Requestors: rjray [...]
Cc: bryanh [...]

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


CC: bryanh [...]
Subject: Specify timeout settings for methods and at server-level
Download (untitled) / with headers
text/plain 162b
See attached email. Consider supporting a per-call timeout in server configuration, with the capability of individual methods/funcs to specify their own timeouts.
Subject: RPC-XML suggestion: method timeout.eml
X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: <> X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on X-Spam-Level: X-Spam-Status: No, score=0.1 required=7.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.7 Received: from ( []) by (8.13.6/8.13.6) with ESMTP id l1AJNHRR095202 for <>; Sat, 10 Feb 2007 11:23:17 -0800 (PST) Received: from ( []) by (8.13.8/8.13.8) with ESMTP id l1AJNCHB079160 for <>; Sat, 10 Feb 2007 11:23:17 -0800 (PST) Received: from localhost ([] ident=bryanh) by with esmtp (Exim 4.52) id 1HFxoV-00074F-GJ for; Sat, 10 Feb 2007 19:23:11 +0000 Message-ID: <> Date: 10 Feb 2007 19:03:16 +0000 From: (Bryan Henderson) To: Subject: RPC-XML suggestion: method timeout I have been using your RPC-XML Perl package for a while, and like it a lot. Here's a suggestion for additional function with a few lines of code: In a single-threaded server like this, a hung XML-RPC method can do a lot of damage. I use alarm() or Time::HiRes::setitimer() in my method code to deal with this. But since it's a common problem for all methods, it would be convenient to have RPC::XML::Procedure do that for me. It would also be nice to have a default method timeout for the whole server. -- Bryan Henderson San Jose, California

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to