Re: [Twisted-Python] Streaming HTTP

2015-11-19 Thread Cory Benfield
> On 18 Nov 2015, at 12:18, Glyph Lefkowitz wrote: > Sorry about the delay in responding to this, but I wanted to make sure I knew at least a bit about what I was talking about before I responded! >> What do people think of this approach? > > So I think you're roughly on the right track but

Re: [Twisted-Python] Implementing Postfix Inet Policy Check Client

2015-11-19 Thread Tom Boland
Thanks again for this. It's really useful. It turns out that the delimiter is a plain old \n. Who knows how consistent this will be between different policy daemons, I don't know! I've modified it to manage a DeferredQueue which hopefully means I can just keep throwing requests at it without ev

Re: [Twisted-Python] Implementing Postfix Inet Policy Check Client

2015-11-19 Thread exvito here
On Thu, Nov 19, 2015 at 4:19 PM, Tom Boland wrote: > Thanks again for this. It's really useful. It turns out that the > delimiter is a plain old \n. Who knows how consistent this will be between > different policy daemons, I don't know! > I would check the Postfix docs for that. > Now, this

[Twisted-Python] incompatible change - need revert before release

2015-11-19 Thread Glyph Lefkowitz
Tom Prince discovered a regression on https://twistedmatrix.com/trac/ticket/7016#comment:14 - I think that this was introduced after 15.4, so it needs to be rolled back (or fixed, if someone can get to it before the revert) in 15.5. -glyp

Re: [Twisted-Python] Multiple reactors, connecting to self, or other solution?

2015-11-19 Thread Oon-Ee Ng
On Wed, Nov 18, 2015 at 4:55 PM, Glyph Lefkowitz wrote: > >> On Nov 15, 2015, at 9:54 AM, Itamar Turner-Trauring >> wrote: >> >> On 11/15/2015 10:19 AM, Oon-Ee Ng wrote: >>> Based on my reading/searching, multiple reactors in the same process >>> (even in multiple threads) is pretty much a no-go

Re: [Twisted-Python] Multiple reactors, connecting to self, or other solution?

2015-11-19 Thread Glyph Lefkowitz
> On Nov 19, 2015, at 9:19 PM, Oon-Ee Ng wrote: > > On Wed, Nov 18, 2015 at 4:55 PM, Glyph Lefkowitz > wrote: >> >>> On Nov 15, 2015, at 9:54 AM, Itamar Turner-Trauring >>> wrote: >>> >>> On 11/15/2015 10:19 AM, Oon-Ee Ng wrote: Based on my reading/searching, multiple reactors in the sa