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 xdegaye
Recipients François-Xavier.Bourlet, neologix, xdegaye
Date 2011-10-30.18:02:27
SpamBayes Score 1.496277e-07
Marked as misclassified No
Message-id <1319997748.61.0.676793938656.issue12498@psf.upfronthosting.co.za>
In-reply-to
Content
While writing the test case, I found out that the test case does not
fail before the patch. It seems that draining the output buffer
already works:

The attached script 'asyncore_shutdown.py' drains the output buffer
when run without the patch, with Python 3.2, and prints 'Done.'. The
dispatcher_with_send handle_close() method is never called.

The attached 'asyncore_shutdown.log' file is the output of the tcpdump
of the connection. It shows that packets are sent after the first FIN.
This is on linux.
History
Date User Action Args
2011-10-30 18:02:28xdegayesetrecipients: + xdegaye, neologix, François-Xavier.Bourlet
2011-10-30 18:02:28xdegayesetmessageid: <1319997748.61.0.676793938656.issue12498@psf.upfronthosting.co.za>
2011-10-30 18:02:28xdegayelinkissue12498 messages
2011-10-30 18:02:27xdegayecreate