HomePhabricator

RPC: add support for JSON-RPC 2.0-style request batching
613389019e6eUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

RPC: add support for JSON-RPC 2.0-style request batching

If the top-level object is an array, it is assumed to be an array of
JSON-RPC requests. An array is returned, containing one response (error or
not) per request, in the order submitted.

In a slight change in semantics, batched requests -always- return
an HTTP 200 OK status, even ones full of invalid or incorrect requests.

Details

Provenance
Jeff Garzik <jgarzik@exmulti.com>Authored on Jun 24 2012, 06:01
Jeff Garzik <jgarzik@redhat.com>Committed on Jul 4 2012, 02:53
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGc6494d82fa31: RPC: break out high level JSON-RPC req/resp into their own functions
Branches
Unknown
Tags
Unknown

Event Timeline

Jeff Garzik <jgarzik@redhat.com> committed rSTAGING613389019e6e: RPC: add support for JSON-RPC 2.0-style request batching (authored by Jeff Garzik <jgarzik@exmulti.com>).Jul 4 2012, 02:53