Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle client disconnect during image upload
If a user does a ^C during a chunked image upload, eventlet.wsgi.server will raise one of ValueError or IOError when trying to read the next chunk. Handle this common scenario by raising(logging) a HTTPBadRequest error rather than HTTPInternalServerError. Fixes bug 1196953 Change-Id: Ic88b142a40c548141be4b40a15f94b71603814e9
- Loading branch information
Paul Bourke
committed
Jul 18, 2013
1 parent
85cbff0
commit 3904860
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters