When the client hangs up, we can't actually catch the BrokenPipeError because
commit3f550a975a0def1dafbd4e060b01f0553ef2967f
authorBarry Warsaw <barry@python.org>
Mon, 24 Aug 2015 00:44:14 +0000 (23 20:44 -0400)
committerBarry Warsaw <barry@python.org>
Mon, 24 Aug 2015 00:44:14 +0000 (23 20:44 -0400)
tree608591b95950b665a8f5ec36eb4066cbf28cef85
parentc265a58eea8bb7abbdaa4cdbc0f25cafb1d78626
When the client hangs up, we can't actually catch the BrokenPipeError because
of the way Python stdlib's wsgiref.simple_server is structured.  However, we
can ensure that the error messages won't get printed to stderr, but to our
http log file instead.
src/mailman/rest/wsgiapp.py