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

ruslan usifov ruslan.usifov at gmail.com
Wed Sep 22 13:06:07 EDT 2010


ok i provide sample till the end of this week

2010/9/20 Glyph Lefkowitz <glyph at twistedmatrix.com>

>
> 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!
>
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20100922/906a2b87/attachment.htm 


More information about the Twisted-Python mailing list