On Mon, Oct 29, 2012 at 10:20:04AM -0500, Adam Litke wrote:
> Hi everyone,
> libvdsm is listed as a release feature for 3.2 (preview only). There
> is a
> set of patches up in gerrit that could use a wide review from the community.
> The plan is to merge the new json-rpc server first so if you could
> concentrate your reviews there it would yield the greatest benefit. Thanks!
>  http://wiki.ovirt.org/wiki/OVirt_3.2_release-management
>  http://wiki.ovirt.org/wiki/Features/libvdsm
>  http://gerrit.ovirt.org/#/c/8614/
 defines the format of each message as
where <size> is a binary value, used to split a (tcp) stream into
messages. I would like to consider another splitting scheme, which I
find better suited to the textual nature of jsonrpc: terminate each
message with the newline character. It makes the protocol easier to
sniff and debug (in case you've missed part of a message).
The down size is that we would need to require clients to
escape literal newlines, and unescape them in responses (both are done
by python's json module, and the latter is part of the json standard).
vdsm-devel mailing list