Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Infinite loop when uploading zero-length files #152
When uploading zero-length files when creating issues or updating them, python just hangs and seemingly does nothing anymore. Apparently this has to do with the fact that the file is opened as a stream and the underlying code in packages/requests will now try to send in chunks, but I know too little python to identify the respective line of code.
added a commit
Nov 12, 2016
This is a bug in requests, see requests/requests#3066. I've tried the current master branch of requests and it works fine now, i.e. raises
I've also added a size check in python-redmine which will be a part of the next release. (See 71cb6e5)
Thanks for the bug report.