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)"<br>
<br>So this looks like my bug <br><br><div class="gmail_quote">2010/9/20 Glyph Lefkowitz <span dir="ltr"><<a href="mailto:glyph@twistedmatrix.com" target="_blank">glyph@twistedmatrix.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div style="word-wrap: break-word;"><br><div><div><div>On Sep 17, 2010, at 8:21 PM, ruslan usifov wrote:</div><br><blockquote type="cite"><span style="border-collapse: separate; font-family: 'Bitstream Vera Sans Mono'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-size: medium;">Its a simply fastcgi proxy, which reads all request(analize it, do some pending things and then proxy request to real worker)<br>
</span></blockquote><div><br></div></div><div>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?</div>
</div><div><br></div><div>Here is a guide to producing a useful example: <<a href="http://sscce.org/" target="_blank">http://sscce.org/</a>></div><div><br><blockquote type="cite"><span style="border-collapse: separate; font-family: 'Bitstream Vera Sans Mono'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-size: medium;">Thank for your help.<br>
</span></blockquote><div><br></div>Thanks for reporting the bug. I hope you can provide us with enough information to get it fixed :).<div><br><br><blockquote type="cite"><span style="border-collapse: separate; font-family: 'Bitstream Vera Sans Mono'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-size: medium;">PS: i use kqreactor.py from this branch<span> </span><a href="http://twistedmatrix.com/trac/browser/branches/kqreactor-1918-3/" target="_blank">http://twistedmatrix.com/trac/browser/branches/kqreactor-1918-3/</a><span> </span><br>
</span></blockquote><br></div></div><div>If you use the kqreactor.py from <<a href="http://trac.calendarserver.org/browser/CalendarServer/trunk/twext/internet/kqreactor.py" target="_blank">http://trac.calendarserver.org/browser/CalendarServer/trunk/twext/internet/kqreactor.py</a>>, does it make any difference, or do you still see the same traceback?</div>
<br></div><br>_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com" target="_blank">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
<br></blockquote></div><br>