Message79882
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. |
|
Date |
User |
Action |
Args |
2009-01-15 00:35:38 | ggenellina | set | recipients:
+ ggenellina, kristjan.jonsson, vstinner, giampaolo.rodola |
2009-01-15 00:35:38 | ggenellina | set | messageid: <1231979738.43.0.176292573841.issue4929@psf.upfronthosting.co.za> |
2009-01-15 00:35:37 | ggenellina | link | issue4929 messages |
2009-01-15 00:35:36 | ggenellina | create | |
|