~hudson-openstack/glance/trunk

Viewing all changes in revision 180.

  • Committer: Tarmac
  • Author(s): jaypipes at gmail
  • Date: 2011-08-03 21:13:09 UTC
  • mfrom: (179.1.2 bug818292)
  • Revision ID: tarmac-20110803211309-03bzb2lyy30e8xeg
Removes the call to webob.Request.make_body_seekable() in the
general images controller to prevent the image from being copied
into memory. In the S3 controller, which needs a seekable file-like
object when calling boto.s3.Key.set_contents_from_file(), we work
around this by writing chunks of the request body to a tempfile on
the API node, then stream this tempfile to S3.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: