On Oct 2, 2013, at 9:20 AM, exar...@twistedmatrix.com wrote: > On 01:21 am, don...@stufft.io wrote: >> I have two pieces of code (see: >> https://gist.github.com/dstufft/9dc9978dc0af77e82f0c) one "works" (in that >> it fails verifying the host key like i'd expect) and one doesn't ("it never >> tries to verify the host key and just exists immediately). >> >> I don't understand *why* though, why does the connectionReady dance make it >> work? > > Where's the second piece of code? > > Jean-Paul > > _______________________________________________ > Twisted-Python mailing list > Twisted-Python@twistedmatrix.com > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
Both are in the gist, works.py and fails.py ----------------- Donald Stufft PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python