On Oct 18, 2012, at 11:36 PM, Adi Roiban <[email protected]> wrote: > On 19 October 2012 07:41, Nathan Mower <[email protected]> wrote: >> The following sample code worked until Twisted began to prefer memory BIOs >> over socket BIOs. Now it produces this error... >> >> exceptions.AttributeError: 'NoneType' object has no attribute 'getpeername' >> >> ...on line 9 where getpeername() is called by the verify() callback. >> >> Is there any way to obtain the peer name, given the OpenSSL.SSL.Connection >> object passed into verify()? Anything that surfaces the underlying socket? >> (Perhaps something similar to what is done in connectionMade(), which does >> work.) Or alternatively, is there a way to tell the reactor to employ >> socket BIOs? > > Hi > > I think that we are talking about this bug: > http://twistedmatrix.com/trac/ticket/5684
Thanks for the pointer; I've just closed it with a similar answer. -glyph _______________________________________________ Twisted-Python mailing list [email protected] http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
