-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Lenny G Arbage wrote:r part.
It looks like it actually ended up being changes in the format of request.files that tripped everything up. With your tip, I was able to get it working again.
Good.
I'm now running into file size limitations, however. It looks like when a file larger than about 10M is uploaded via a post form, the transfer hangs.
On the client side, roughly 560K is written before the socket is blocked and the client can no longer send. On the server side, the post never gets into my render() method.
Files of size 9M and smaller work fine.
While the big file client's write is blocked, other clients can still access the server and upload [small] files.
I get the same behavior whether I use Firefox or python's httplib as the client.
This behavior isn't new in 0.2 -- I upgraded from 0.1 hoping it would be fixed.
Did you create a bug about it when you found it in 0.1? If not could you? Because I didn't know about any such issue, and I'm guessing neither did anyone else. Assign it to me and I'll look into it this evening after work (any code you have to reproduce such an issue would be helpful it doesn't necessarily have to be in the form of a unittest but if you can do that it'd be awesome.)
I'll see if I can't dig in and find where this is happening, but if you have any pointers, fabulous.
I'll let you know if I can think of anything. - -David - -- "Usually the protocol is this: I appoint someone for a task, which they are not qualified to do. Then, they have to fight a bear if they don't want to do it." -- Glyph Lefkowitz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEoGcMrsrO6aeULcgRAukSAJ90NWlK0S0j7zQEeJF2Z/SVr42lwwCggN2G slD69wtJND1idqmdHH07FGw= =c5CI -----END PGP SIGNATURE-----