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

2015-11-18 Thread Glyph Lefkowitz
> 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 because >> twisted.internet.reactor is a global singleton. >>

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

2015-11-18 Thread Pantelis Theodosiou
On Wed, Nov 18, 2015 at 8:55 AM, 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 n

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

2015-11-18 Thread Tom Boland
Hi Exvito, Thanks very much for this. I think I might just give a bit of context about using this. I have an SMTP proxy using Nginx. It uses queries an HTTP service to establish whether mail should be forwarded, and where to (on to postfix/dovecot/exchange backends). It uses Twisted for the HTT

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

2015-11-18 Thread Glyph Lefkowitz
> On Nov 18, 2015, at 1:21 AM, Pantelis Theodosiou > wrote: > > Wouldn't it be better if that was replaced, too? Or maybe both versions be > visible on the same webpage? (one with listenTCP and one with endpoints)? Absolutely! In this high-level explanation of how to write a server, really

Re: [Twisted-Python] Streaming HTTP

2015-11-18 Thread Cory Benfield
> On 18 Nov 2015, at 05:55, Glyph Lefkowitz wrote: > > Does HTTP2 have choke/unchoke notifications on individual streams? > Ultimately this does resolve to TCP backpressure, though… Not in such a binary form, no. The connection as a whole and each stream maintain independent flow control win

[Twisted-Python] Twisted 15.5 Prerelease 1 Announcement

2015-11-18 Thread Amber "Hawkie" Brown
Hello everyone! Hot off the presses comes Twisted 15.5.0pre1, the prerelease of Twisted 15.5, which has been described by some as "totally radical" and "off the wall". In this release: - Python 3.5 support on POSIX was added, and Python 2.6 support was dropped. - More than nine additional modul

Re: [Twisted-Python] Twisted 15.5 Prerelease 1 Announcement

2015-11-18 Thread Glyph Lefkowitz
> On Nov 18, 2015, at 2:58 AM, Amber Hawkie Brown > wrote: > > Hello everyone! > > Hot off the presses comes Twisted 15.5.0pre1, the prerelease of Twisted 15.5, > which has been described by some as "totally radical" and "off the wall". > > In this release: > > - Python 3.5 support on POSIX

Re: [Twisted-Python] Streaming HTTP

2015-11-18 Thread Glyph Lefkowitz
> On Nov 13, 2015, at 4:36 AM, Cory Benfield wrote: > > Folks, > > # Problem Statement > > Thanks for your feedback on my HTTP/2 questions. I’ve started work > implementing a spike of a HTTP/2 protocol for twisted.web. I’m aiming to have > something that works in at least some cases by the e

Re: [Twisted-Python] Streaming HTTP

2015-11-18 Thread Glyph Lefkowitz
> On Nov 18, 2015, at 2:28 AM, Cory Benfield wrote: > > >> On 18 Nov 2015, at 05:55, Glyph Lefkowitz wrote: >> >> Does HTTP2 have choke/unchoke notifications on individual streams? >> Ultimately this does resolve to TCP backpressure, though… > > Not in such a binary form, no. The connectio

Re: [Twisted-Python] Streaming HTTP

2015-11-18 Thread Cory Benfield
> On 18 Nov 2015, at 12:30, Glyph Lefkowitz wrote: > > So the receiver sends explicit "unchoke" messages to increase the window, and > the "choke" message is implicit? Modulo some irrelevant distinctions, yes. Cory signature.asc Description: Message signed with OpenPGP using GPGMail __

Re: [Twisted-Python] Migration to Git / GitHub

2015-11-18 Thread Jonathan Vanasco
On Nov 17, 2015, at 12:52 PM, Donald Stufft wrote: > I don’t disagree with the decision to not move to GitHub issues, however > if you wanted to you could do what Golang did to minimize the data loss. > They emailed prior participants to their bug tracker to ask them to grant > their migration ap

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

2015-11-18 Thread exvito here
On Wed, Nov 18, 2015 at 9:28 AM, Tom Boland wrote: > I think what you've provided me with is useful for me, but I think it's > backwards for my purposes, as I need to be connecting to the policy daemon > rather than being the policy daemon! > > I wanted to do this with deferred calls in case one