Ticket #10046: modpython_ioerrorcheck.diff

File modpython_ioerrorcheck.diff, 418 bytes (added by Eric Woudenberg, 16 years ago)

Check for IOError during HTTP socket write

  • django/core/handlers/modpython.py

     
    218218        try:
    219219            for chunk in response:
    220220                req.write(chunk)
     221        except IOError:
     222            pass
    221223        finally:
    222224            response.close()
    223225
Back to Top