Comment 2 for bug 1050345

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-glanceclient (master)

Reviewed: https://review.openstack.org/12936
Committed: http://github.com/openstack/python-glanceclient/commit/91896ff51861e8d90bdf0f7c54cab0f2b3e3c277
Submitter: Jenkins
Branch: master

commit 91896ff51861e8d90bdf0f7c54cab0f2b3e3c277
Author: Alessandro Pilotti <email address hidden>
Date: Thu Sep 13 14:02:20 2012 +0300

    Fixes glance add / update / image-create / image-update on Windows

    Fixes Bug #1050345

    The image upload hangs if the file contains a byte with value 0x1A (EOF), due to
    the fact that the file or stdin streams are treated as text and not
    binary streams. This fix sets the proper binary mode.

    Change-Id: I3425cb9729a8da4d1b73fbfba06fd6f2c7e8833e