where pysendfile is unavailable, glance client sends small erratically-sized chunks
Bug #932183 reported by
Eoghan Glynn
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Medium
|
Eoghan Glynn |
Bug Description
The problem occurs when uploading image content via the glance client.
When the pysendfile package is available, image data is written to the wire as a sequnce of 64k-sized socket sends, as expected.
However, when pysendfile is unavailable, a chunked HTTP request is sent with small, erractically sized chunks. This is due to iteration over sys.stdin not producing a predicatable buffer size.
To fix, the HTTP chunk size for non-terminal chunks should revert to 64k as before.
Changed in glance: | |
importance: | Undecided → Medium |
assignee: | nobody → Eoghan Glynn (eglynn) |
milestone: | none → essex-4 |
status: | New → Confirmed |
Changed in glance: | |
status: | Confirmed → In Progress |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | essex-4 → 2012.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/4145
Review: https:/