[Twisted-Python] ENOBUF and Twisted

Tim Allen screwtape at froup.com
Thu Aug 19 06:01:59 MDT 2004


On 19 Aug 2004, at 19:10, Andrew Bennetts wrote:
>> screwtape at froup.com wrote:
>>> A colleague of mine was working with a server written in Twisted
>>> today, and he ran into a problem involving Twisted. He called me over
>>> (since I'm supposed to be the Python Guru here, which just means I'm
>>> slightly less ignorant than everybody else :) and we tracked the
>>> behaviour in question all the way down to twisted.internet.tcp.
> I wonder if the win32reactor or iocpreactor get more useful 
> information than
> select and so can handle this better?

It's not so much that the default select reactor makes information 
unavailable.. as far as I can tell, the Python socket object is 
correctly raising ENOBUFS, and t.i.tcp.Connection is very deliberately 
throwing that information away rather than handling properly.





More information about the Twisted-Python mailing list