[Twisted-Python] file descriptor cannot be a negative integer (-1)

Glyph Lefkowitz glyph at twistedmatrix.com
Mon Sep 20 13:48:23 EDT 2010


On Sep 20, 2010, at 10:34 AM, ruslan usifov wrote:

> I implement specific proxy server, so after analyze i think that this happens if client disconnected from server, but server already made connection to proxied service, so call resumeProducing() (in connectionMade ), throws exception (because socket already closed)  "file descriptor can not be a negative integer (-1)"
> 
> So this looks like my bug 

I think I understand what you mean, but could you express this as a simple Python program rather than an english sentence, so that I can be sure?

Thanks!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20100920/e338fcd5/attachment.htm 


More information about the Twisted-Python mailing list