homepage

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 giampaolo.rodola
Recipients
Date 2007年06月12日.21:10:35
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
asyncore should handle also ECONNABORTED in recv in which case handle_close must be called.
The two programs in attachment, an asyncore based echo-server and a simple client application terminating after having sent some data, shows how the server raises an ECONNABORTED exception.
Note that the exception does not occur if server responds immediatly so I used a time.sleep(1) statement to let internal socket perform send() on the remote 'dead' peer.
Having said that it's probable that ECONNABORTED should be handled also in send method.
Hope this helps.
History
Date User Action Args
2007年08月23日 15:58:44adminlinkissue1736101 messages
2007年08月23日 15:58:44admincreate

AltStyle によって変換されたページ (->オリジナル) /