diff options
author | Sabari Kumar Murugesan <smurugesan@vmware.com> | 2014-12-18 16:52:07 -0800 |
---|---|---|
committer | Sabari <sabari.bits@gmail.com> | 2014-12-22 19:57:46 +0000 |
commit | e3600ad7beb7cb4a067038d750e530a64fd1e93a (patch) | |
tree | bb09ff8e6f3c2b0204652f7a1b648a1bfd12efeb /glanceclient/v1 | |
parent | 0cdc947bf998c7f00a23c11bf1be4bc5929b7803 (diff) | |
download | python-glanceclient-e3600ad7beb7cb4a067038d750e530a64fd1e93a.tar.gz |
Fix broken-pipe seen in glance-api
When file size is an exact multiple of chunk_size, glance client
is processing EOF in image-data as a chunk and sends to
glance-api. The server treats this as the end of chunked
transmission and sends a http response.
When the actual last chunk is sent by the 'requests' library, the
server sends a 400 response and tracebacks with broken pipe
as the client has already closed the socket.
Closes-Bug: #1342080
Change-Id: Icdbff838450db1c252ddc919a230a7d3ca16765f
Diffstat (limited to 'glanceclient/v1')
0 files changed, 0 insertions, 0 deletions