Medusa doesn't catch Connection reset by peer sometimes
Bug #143116 reported by
ChrisW
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
I've seen entries like this in logs:
ERROR(200) ZServer uncaptured python exception, closing channel <ZServer.
An HTTP connection reset shouldn't be an "uncaptured python exception".
Changed in zope2: | |
importance: | Medium → Wishlist |
status: | New → Triaged |
To post a comment you must log in.
Well it's really an asyncore problem, and now that we're using python's standard one it's harder to fix.
Still I guess we could trap socket.error and react on ECONNRESET from medusa. http_server. http_channel. send, and do the handle_close() ourselves there.