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 dmalcolm
Recipients BreamoreBoy, dmalcolm, giampaolo.rodola, josiahcarlson, matejcik, santoso.wijaya
Date 2010-09-23.22:11:46
SpamBayes Score 0.0009679073
Marked as misclassified No
Message-id <1285279911.16.0.59806681306.issue6706@psf.upfronthosting.co.za>
In-reply-to
Content
giampaolo: did you ever rewrite the patch?

For reference to other users:
http://code.google.com/p/pyftpdlib/source/browse/trunk/pyftpdlib/ftpserver.py

Note the complexity of the two handle_accept implementations in that file; both of them begin:
        try:
            sock, addr = self.accept()
        except TypeError:
            # sometimes accept() might return None (see issue 91)
            return
        except socket.error, err:
            # ECONNABORTED might be thrown on *BSD (see issue 105)
            if err[0] != errno.ECONNABORTED:
                logerror(traceback.format_exc())
            return
        else:
            # sometimes addr == None instead of (ip, port) (see issue 104)
            if addr == None:
                return
History
Date User Action Args
2010-09-23 22:11:51dmalcolmsetrecipients: + dmalcolm, josiahcarlson, giampaolo.rodola, matejcik, santoso.wijaya, BreamoreBoy
2010-09-23 22:11:51dmalcolmsetmessageid: <1285279911.16.0.59806681306.issue6706@psf.upfronthosting.co.za>
2010-09-23 22:11:47dmalcolmlinkissue6706 messages
2010-09-23 22:11:46dmalcolmcreate