Files
deb-python-eventlet/eventlet
Samuel Merritt c3ce3eef0b wsgi: better error for chunk read failures
When a client is sending a chunked request body and disconnects
between chunks, wsgi.Input.read() raises a ValueError. That's fine if
you can remember to wrap every single call to read/readline in a
try/except, but it's bad for a higher-level error handler because so
many things raise ValueError.

This adds in a new error class wsgi.ChunkReadError and raises that
instead. It inherits from ValueError so anyone catching ValueError
should continue to work.
2015-08-10 13:49:26 -05:00
..
2014-12-30 03:07:26 +03:00
2015-05-09 02:19:08 +03:00
2014-11-11 23:37:09 +00:00
2014-08-27 10:21:55 +04:00
2014-10-10 08:53:11 +01:00
2014-08-27 10:21:55 +04:00
2014-11-11 23:37:09 +00:00
2014-08-27 10:21:55 +04:00
2014-11-11 23:37:09 +00:00