This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pje
Recipients btubbs, pitrou, pje
Date 2012-10-14.00:26:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350174407.03.0.74465567195.issue16220@psf.upfronthosting.co.za>
In-reply-to
Content
FYI, this looks like a bug in wsgiref.handlers.BaseHandler.finish_response(), which should probably be using a try/finally to ensure .close() gets called.  (Which would catch a failed write() to the client.)

I'm kind of amazed this has gone undetected this long, but I guess that either:

1. other servers are probably catching errors from .run() and closing,
2. they're not using BaseHandler in their implementation, or
3. most apps don't have anything that essential in close() and/or the clients don't disconnect that often.  ;-)
History
Date User Action Args
2012-10-14 00:26:47pjesetrecipients: + pje, pitrou, btubbs
2012-10-14 00:26:47pjesetmessageid: <1350174407.03.0.74465567195.issue16220@psf.upfronthosting.co.za>
2012-10-14 00:26:46pjelinkissue16220 messages
2012-10-14 00:26:45pjecreate