Large file upload failure on Linux (Ubuntu)
After upgrading to Pyramid 1.2 the application we are building was throwing errors for any large upload. The problem is only occurring on Linux (Ubuntu 11.04). We tracked the error down to WebOb 1.1. We downgraded to WebOb 1.0.2 and the problem was resolved.
The problem is pretty easy to reproduce. Create a blank Pyramid application, and a simple upload function in views.py.
def upload(request): file = request.params["upload_file"] log.warning(file.filename) log.warning(file) return Response(body="success")
Now uploading any large (10mb+) file will fail with a DisconnectionError.
I'm going to try to attach a virtualbox instance that reproduces this problem. The login is will/will.
Thanks for your help,