Fix issue #13694: asynchronous connect in asyncore.dispatcher does not set addr.
This commit is contained in:
parent
0e3c107549
commit
3d3cf48e53
|
@ -345,6 +345,7 @@ class dispatcher:
|
|||
err = self.socket.connect_ex(address)
|
||||
if err in (EINPROGRESS, EALREADY, EWOULDBLOCK) \
|
||||
or err == EINVAL and os.name in ('nt', 'ce'):
|
||||
self.addr = address
|
||||
return
|
||||
if err in (0, EISCONN):
|
||||
self.addr = address
|
||||
|
|
|
@ -27,6 +27,9 @@ Core and Builtins
|
|||
Library
|
||||
-------
|
||||
|
||||
- Issue #13694: asynchronous connect in asyncore.dispatcher does not set addr
|
||||
attribute.
|
||||
|
||||
- Issue #10484: Fix the CGIHTTPServer's PATH_INFO handling problem.
|
||||
|
||||
- Issue #11199: Fix the with urllib which hangs on particular ftp urls.
|
||||
|
|
Loading…
Reference in New Issue