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 following sample code worked until Twisted began to prefer memor

Re: [Twisted-Python] getpeername from verify callback

2012-10-19 Thread Glyph
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 following sample code worked until Twisted began to prefer memory BIOs >>> over socket BIOs. Now it produces this error... >>> >>> exc

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.AttributeError: 'NoneType' object has no attribute

Re: [Twisted-Python] getpeername from verify callback

2012-10-18 Thread Adi Roiban
On 19 October 2012 09:28, 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.AttributeError: 'NoneType' object has no attribute 'getpe

Re: [Twisted-Python] getpeername from verify callback

2012-10-18 Thread Glyph
On Oct 18, 2012, at 11:36 PM, Adi Roiban wrote: > On 19 October 2012 07:41, Nathan Mower 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

Re: [Twisted-Python] getpeername from verify callback

2012-10-18 Thread Adi Roiban
On 19 October 2012 07:41, Nathan Mower 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 cal

Re: [Twisted-Python] getpeername from verify callback

2012-10-18 Thread Glyph
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.AttributeError: 'NoneType' object has no attribute 'getpeername' > > ...on line 9 where getpeername()

[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