On Tue, 8 Nov 2005, James Bunton wrote:

> Grab the tarball and do
> svn switch svn://delx.cjb.net/pymsnt/branches/0_10_x
>
> There's two new options in PyMSNt.tac concerning privilege shedding that 
> should interest you.
> Twistd is quite cool :)

Ah, excellent. Unfortunately this is meant to be a "stable" rpm... so I 
suppose I shall just have to backport that.

So look out for a 0.10.2 rpm in the near future :)

-- 
Peter Berry, SUCS Ex-Treasurer
<[EMAIL PROTECTED]>
From [EMAIL PROTECTED]  Tue Nov  8 14:13:45 2005
From: [EMAIL PROTECTED] (Gonzalo Barrio)
Date: Tue Nov  8 14:14:01 2005
Subject: [py-transports] PyMSNt 0.10.2 released
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

This es the patch for twisted to make it work with epoll. First you have 
to install the epoll reactor and then:

--- application/app.py.orig 2005-11-08 11:11:03.269111888 -0300
+++ application/app.py      2005-11-08 10:59:16.502556736 -0300
@@ -24,6 +24,7 @@
     'kqueue': 'twisted.internet.kqreactor',
     'iocp': 'twisted.internet.iocpreactor',
     'cfreactor': 'twisted.internet.cfreactor',
+    'epoll': 'twisted.internet.epollreactor',
     }

 def installReactor(reactor):

This is what I was missing.

Thanks, its nice with twistd but what if I like to not debug any info, 
so my app works better?

James Bunton wrote:

> You can use epoll by passing the -r option to twistd.
> Have a look at the docs, there's a short section on running the 
> transport with twistd, and it shows example options. The example shows 
> how to run with the poll reactor.
>
> ---
>
> James
>
>
>
> On 08/11/2005, at 1:18 AM, Gonzalo Barrio wrote:
>
>> James, what happened with the epoll reactor config section inside the 
>> config-example.xml ? I can't find anything of epoll inside the sources.
>>
>> Thanks,
>> Gonzalo Barrio Linares.
>>
>>
>> James Bunton wrote:
>>
>>> Hi all.
>>>
>>> PyMSNt 0.10.2 has been released. This release just has a few 
>>> critical fixes, and is recommended for all users of 0.10.x
>>> http://msn-transport.jabberstudio.org
>>> Please remember to read through the documentation on that page. As 
>>> always, feedback on the program and docs are welcome.
>>>
>>> Also of note is that the transport now uses SVN. The repository is 
>>> available for anonymous public access at svn://delx.cjb.net/pymsnt
>>>
>>> In svn://delx.cjb.net/pymsnt/branches/0_11_x is some preliminary 
>>> file transfer code. It works for receiving files. I'll be polishing 
>>> this up so that it works with more clients, and so that you can send 
>>> as well.
>>>
>>> If you want to track the progress of file transfer, its probably a 
>>> good idea to join py-transports. Also, you're best off not checking 
>>> out trunk :)
>>>
>>> Enjoy!
>>>
>>> ---
>>>
>>> James
>>>
>>> _______________________________________________
>>> py-transports mailing list
>>> [email protected]
>>> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>>>
>>
>>
>> _______________________________________________
>> py-transports mailing list
>> [email protected]
>> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>>
>
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>

Reply via email to