[Twisted-Python] file descriptor cannot be a negative integer (-1)
ruslan.usifov at gmail.com
Mon Sep 20 10:34:24 EDT 2010
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
2010/9/20 Glyph Lefkowitz <glyph at twistedmatrix.com>
> On Sep 17, 2010, at 8:21 PM, ruslan usifov wrote:
> Its a simply fastcgi proxy, which reads all request(analize it, do some
> pending things and then proxy request to real worker)
> I am very curious about your problem, but I cannot help you with it with
> the incomplete snippets you have provided. Can you reduce your program to a
> smaller test program that produces this traceback?
> Here is a guide to producing a useful example: <http://sscce.org/>
> Thank for your help.
> Thanks for reporting the bug. I hope you can provide us with enough
> information to get it fixed :).
> PS: i use kqreactor.py from this branch
> If you use the kqreactor.py from <
> does it make any difference, or do you still see the same traceback?
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-Python