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

2010-09-22 Thread ruslan usifov
ok i provide sample till the end of this week 2010/9/20 Glyph Lefkowitz > > 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 s

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

2010-09-20 Thread Glyph Lefkowitz
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 (

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

2010-09-20 Thread ruslan usifov
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 ne

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

2010-09-19 Thread Glyph Lefkowitz
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

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

2010-09-17 Thread ruslan usifov
Sorry fo my question. I'm new in twisted ad may misunderstand some things:-), and my questions may look like trivial I have follow stack trace: cant connect to fcgi socket: [Failure instance: Traceback: : file descriptor can not be a negative integer (-1) /usr/local/lib/python2.6/site-packages/tw

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

2010-09-17 Thread exarkun
On 09:50 pm, ruslan.usi...@gmail.com wrote: >Hello! > >I have use kqreactor from this branch >http://twistedmatrix.com/trac/browser/branches/kqreactor-1918-3/. In >the >follow code we connect to unix socket. >Sometimes we got the error: "file descriptor cannot be a negative >integer >(-1)" what d