Message8854

Author zyasoft
Recipients nonameentername, zyasoft
Date 2014-06-30.18:46:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1404153972.98.0.744923079912.issue2174@psf.upfronthosting.co.za>
In-reply-to
Content
My reading of the following code is that using the handshakeFuture like so should always be valid:

        self.ssl_handler.handshakeFuture().addListener(handshake_step)
        if self.do_handshake_on_connect and self.already_handshaked:
            self.ssl_handler.handshakeFuture().sync()
            log.debug("SSL handshaking completed", extra={"sock": self._sock})

However, this is clearly not the case in Netty, given the reported error. I have added as a workaround a short sleep, while we figure out a better way of doing some sort of synchronization that lets us do synchronization :)

Workaround in http://hg.python.org/jython/rev/f6c9712832d0

Note that for this specific requirements.txt, there is a now separate issue in installing PrettyTable, which might be due to recent fixes in Jython's grammar support.
History
Date User Action Args
2014-06-30 18:46:12zyasoftsetmessageid: <1404153972.98.0.744923079912.issue2174@psf.upfronthosting.co.za>
2014-06-30 18:46:12zyasoftsetrecipients: + zyasoft, nonameentername
2014-06-30 18:46:12zyasoftlinkissue2174 messages
2014-06-30 18:46:12zyasoftcreate