Repository: libcloud Updated Branches: refs/heads/trunk 8fe3e4055 -> 5b2478012
Add a clarification about fill_size improvements. Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/5b247801 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/5b247801 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/5b247801 Branch: refs/heads/trunk Commit: 5b2478012721056033fd47bffd89173457c77940 Parents: 8fe3e40 Author: Tomaz Muraus <[email protected]> Authored: Tue Dec 9 14:02:06 2014 +0100 Committer: Tomaz Muraus <[email protected]> Committed: Tue Dec 9 14:02:06 2014 +0100 ---------------------------------------------------------------------- CHANGES.rst | 7 +++++++ 1 file changed, 7 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/5b247801/CHANGES.rst ---------------------------------------------------------------------- diff --git a/CHANGES.rst b/CHANGES.rst index 3a2282d..cc5f7a4 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -81,6 +81,13 @@ Storage - Fix upload_object_via_stream so it works correctly under Python 3.x if user manually passes an iterator to the method. + + Also improve how reading a file in chunks works with drivers which support + chunked encoding - always try to fill a chunk with CHUNK_SIZE bytes instead + of directly streaming the chunk which iterator returns. + + Previously, if iterator returned 1 byte in one iteration, we would directly + send this as a single chunk to the API. (GITHUB-408, LIBCLOUD-639) [Peter Schmidt]
