On Nov 27, 2013, at 6:39 PM, Krzysztof Oblucki wrote:
>>> Am I on the right track? Is imap4 lib the right tool for this job? If so,
>>> is modifying IMAP4Server to handle Deferreds the right thing to do? If not,
>>> what would you recommend?
>>
>> Sounds like you diagnosed the problem correc
Awesome, that's what I've been trying to do for the past couple of days.
Definitely learning a lot of new things :)
From: "exar...@twistedmatrix.com"
To: Twisted general discussion
Sent: Wednesday, November 27, 2013 5:18 PM
Subject: Re: [Twisted-Python] IMAP
From: Krzysztof Oblucki
To: "twisted-python@twistedmatrix.com" pyt...@twistedmatrix.com>
Sent: Monday, November 25, 2013 11:27 AM
Subject: IMAP4 Proxy to add headers and modify body of an incoming
message
Hello,
I am trying to write an IMAP proxy to modify headers and the body of an
incoming
Maybe I asked the wrong question? Is it possible to use the imap4 library from
twisted to write an imap4 proxy?
From: Krzysztof Oblucki
To: "twisted-python@twistedmatrix.com"
Sent: Monday, November 25, 2013 11:27 AM
Subject: IMAP4 Proxy to add headers and mo
On Nov 25, 2013, at 8:56 AM, Richard Wall wrote:
> Hello,
>
> I'm happy to announce that I've won some funding from The NLnet
> Foundation DNS Security Fund (http://www.nlnet.nl/dnssec/), to add
> EDNS(0) and DNSSEC (and possibly DANE) support to Twisted.
>
> The current project plan can be fo
On 06:00 pm, peter.westl...@pobox.com wrote:
On Wed, Nov 27, 2013, at 17:13, exar...@twistedmatrix.com wrote:
On 02:58 pm, peter.westl...@pobox.com wrote:
... So would it be possible for
>t.a.s.Service.startService
>to be allowed to return a Deferred? Then the next service would only
be
>start
On Wed, Nov 27, 2013, at 17:13, exar...@twistedmatrix.com wrote:
> On 02:58 pm, peter.westl...@pobox.com wrote:
> ... So would it be possible for
> >t.a.s.Service.startService
> >to be allowed to return a Deferred? Then the next service would only be
> >started up when the Deferred fired.
>
> Pro
On 02:58 pm, peter.westl...@pobox.com wrote:
I have a Twisted application with several Services. One of them has a
startService method that does some setup asynchronously. This can go
wrong if the next service to start makes a call to the first one, and
it
isn't ready yet. One way round it woul
I just wrote up a class that allows dicts to be be pb.Cacheable.
Everything works hunky-dory but only if I implement __hash__, which is
problematic for mutable objects for reasons explained thoroughly
elsewhere. The problem comes from
twisted.spread.flavors.RemoteCacheObserver:
class RemoteCacheOb
Peter,
I assume you're using a MultiService to hold all of these services.
You could delay adding the dependent services to the MultiService
until the setup service has finished doing what it does.
For instance, something like this (untested):
class SetupService(Service):
def __init__(self)
I have a Twisted application with several Services. One of them has a
startService method that does some setup asynchronously. This can go
wrong if the next service to start makes a call to the first one, and it
isn't ready yet. One way round it would be to make all methods on the
slow service retu
11 matches
Mail list logo