Menu

#7 Support for system.multicall()

closed
nobody
None
5
2012-10-12
2002-09-05
No

This patch adds support for the system.multicall() RPC
call to both the client and the server.

The purpose of system.multicall() is to support
boxcarring of multiple RPC calls within a single HTTP
request. See
http://www.xmlrpc.com/discuss/msgReader$1208 for
further details.

These patches:

  1. Add the system.multicall() procedure to the server.

  2. Extends the functionality of the xmlrpc_client::send
    method.

With this patch, the first argument of
xmlrpc_client::send() (normally an instance of
xmlrpcmsg) can be an array of xmlrpcmsg's. In that
case the client will attempt to execute all of the
procedure calls with a single HTTP request. (The
client will fall back to multiple HTTP requests if the
server does not support system.multicall.) The return
value from xmlrpc_client::send() in this case will be
an array of xmlrpcresp's (or 0 upon transport failure,
e.g. HTTP timeout.)

Discussion

  • Geoffrey T. Dairiki

    Patches to support system.multicall()

     
  • Geoffrey T. Dairiki

    Logged In: YES
    user_id=45814

    BTW, Patches are on xmlrpc-1.02.

     
  • Geoffrey T. Dairiki

    Logged In: YES
    user_id=45814

    I'm adding a second set of patches. No real changes, except
    for the addition of some test cases in in testsuite.php.
    And the diffs are computed from the current CVS version of
    the code.

     
  • Geoffrey T. Dairiki

    Patches from CVS code (as of 14 Sep 2002)

     
  • Gaetano Giunta

    Gaetano Giunta - 2005-03-21

    Logged In: YES
    user_id=114789

    This has probably been incorporated a long time ago...
    I' closing it now.
    Feel free to reopen if the there is some extra functionality
    not implemented in current version.

     

Anonymous
Anonymous

Add attachments
Cancel