Re: [Twisted-Python] getpeername from verify callback

2012-10-19 Thread Nathan Mower
Thank you, Glyph. On Oct 19, 2012, at 1:14 AM, Glyph wrote: > > On Oct 18, 2012, at 11:56 PM, Adi Roiban wrote: > >> On 19 October 2012 09:28, Glyph wrote: >>> On Oct 18, 2012, at 9:41 PM, Nathan Mower >>> wrote: >>> >>>> The foll

Re: [Twisted-Python] getpeername from verify callback

2012-10-19 Thread Nathan Mower
On Oct 19, 2012, at 12:28 AM, Glyph wrote: > On Oct 18, 2012, at 9:41 PM, Nathan Mower wrote: > >> The following sample code worked until Twisted began to prefer memory BIOs >> over socket BIOs. Now it produces this error... >> >> exceptions.AttributeE

[Twisted-Python] getpeername from verify callback

2012-10-18 Thread Nathan Mower
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