Commits

Giampaolo Rodola  committed d2b7211

(issue 2944) reverting r83704 changes as per Barry Warsaw request

  • Participants
  • Parent commits 64b5c6f
  • Branches 2.6

Comments (0)

Files changed (3)

File Lib/asyncore.py

             self.handle_read()
 
     def handle_connect_event(self):
-        err = self.socket.getsockopt(socket.SOL_SOCKET, socket.SO_ERROR)
-        if err != 0:
-            raise socket.error(err, _strerror(err))
         self.handle_connect()
         self.connected = True
 
 Peter Еstrand
 Jesse Noller
 Fredrik Hееrd
-Alexander Shigin
 Library
 -------
 
-- Issue #2944: asyncore doesn't handle connection refused correctly.
-
 - Issue #8447: Make distutils.sysconfig follow symlinks in the path to
   the interpreter executable.  This fixes a failure of test_httpservers
   on OS X.