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 ggenellina
Recipients ggenellina, giampaolo.rodola, kristjan.jonsson, vstinner
Date 2009-01-15.00:35:36
SpamBayes Score 0.0475425
Marked as misclassified No
Message-id <1231979738.43.0.176292573841.issue4929@psf.upfronthosting.co.za>
In-reply-to
Content
On Windows, if you exit a process abnormally (using e.g. os._exit() in 
Python) while it still has open connections, the other side receives a 
WSAECONNRESET (error 10054).

So, you could write a test case using a dumb server (running as another 
process) with a very short, predefined sequence of recv/send calls, 
ending abruptly with os._exit().

On Linux I *think* you would get ECONNRESET, and at least some form of 
error on other OS's.
History
Date User Action Args
2009-01-15 00:35:38ggenellinasetrecipients: + ggenellina, kristjan.jonsson, vstinner, giampaolo.rodola
2009-01-15 00:35:38ggenellinasetmessageid: <1231979738.43.0.176292573841.issue4929@psf.upfronthosting.co.za>
2009-01-15 00:35:37ggenellinalinkissue4929 messages
2009-01-15 00:35:36ggenellinacreate