]> xenbits.xensource.com Git - xcp/xen-api.git/commit
CA-44731: rewrite RRD marshalling, unmarshalling code to (i) copy the compact binary...
authorDavid Scott <dave.scott@eu.citrix.com>
Tue, 12 Oct 2010 09:34:27 +0000 (10:34 +0100)
committerDavid Scott <dave.scott@eu.citrix.com>
Tue, 12 Oct 2010 09:34:27 +0000 (10:34 +0100)
commitb0b8cfb62b0101ad56195b3c9d8c7a2da037deff
treeab318e9da2a504c34138c63bbef8d5de482cd2f6
parentb9a95cfea0b40282a80eaee0a0f04897d1657bcf
CA-44731: rewrite RRD marshalling, unmarshalling code to (i) copy the compact binary representation; and then (ii) stream the XML directly to an fd without creating a temporary buffer of some kind.

This should now work properly when the XML data is > 16MiB

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
ocaml/xapi/monitor_rrds.ml
ocaml/xapi/rrd.ml
ocaml/xapi/xapi_blob.ml
ocaml/xapi/xapi_http.ml
ocaml/xapi/xapi_message.ml