[issue6550] asyncore incorrect failure when connection is refused and using async_chat channel

Nir Soffer report at bugs.python.org
Tue Jul 28 21:21:06 CEST 2009


Nir Soffer <nirsof at gmail.com> added the comment:

I have a big problem with asyncore_fix_refused.patch  - it assumes that a 
dispatcher has a socket attribute, which can be used with t getsockopt(). 
This is true in the default dispatcher class implemented in asyncore, but 
wont work with file_dispatcher, or 3rd party dispatcher class.

The framework should let you drop in your dispatcher class, that will 
implement a minimal interface - handle_x_event, writable, readable etc.

What are the issues on Windows with asyncore-handle-connect-event-3.patch 
on Windows?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6550>
_______________________________________


More information about the Python-bugs-list mailing list