Re: [Twisted-Python] multiple workers

2010-09-02 Thread exarkun
On 05:26 pm, ruslan.usi...@gmail.com wrote: >Why it is not supported? "Why" it is not supported is that no one has decided to implement and support it. If it's interesting behavior for you, then we would completely welcome you implementing it, and we'll even maintain the support for it once yo

Re: [Twisted-Python] multiple workers

2010-09-02 Thread ruslan usifov
Why it is not supported? I want behaviour like nginx http://nginx.org/, and misunderstand why i can't implemented it throw twisted. Its' so easy. Every process have it's own set sockets, and they doesn't share this sockets between each other. "OnConnect" event happens only once and which process h

Re: [Twisted-Python] multiple workers

2010-09-02 Thread exarkun
On 1 Sep, 10:53 pm, ruslan.usi...@gmail.com wrote: >Hello > >I try to write twisted based daemon that work in multiple workers, like >this: > >from twisted.internet import reactor; >from proxy import FASTCGIServerProxyFactory; >import os; > >reactor.listenUNIX("/tmp/twisted-fcgi.sock", >FASTCGISer

[Twisted-Python] Ldaptor: [PATCH] Extend test driver send_multiResponse() to return deferred and throw errors

2010-09-02 Thread Anton Gyllenberg
The deferred returned by the LDAP client send_multiResponse() method was previously unused in all code covered by tests, and so the replacement method in the test driver just returned None. The deferred is now used in search() and this change makes the test driver also return a deferred instead of