[Twisted-Python] Switch Protocols mid Connection

Tristan Seligmann mithrandi at mithrandi.net
Mon Sep 17 00:34:51 MDT 2018


On Sun, 16 Sep 2018 at 16:02, Randall Smith <randall at tnr.cc> wrote:
> and make 16+ calls to transfer a single file.  So I need to switch to a
> more appropriate (not yet determined) protocol for the transfer, and
> then back to AMP.  AMP provides a protocol switch command, which is
> great, but then I'd need to switch back to AMP and I have no idea what
> approach to take here.  It  doesn't help that I don't have a file
> transfer protocol selected.

You might be able to get away with
http://bazaar.launchpad.net/~glyph/%2Bjunk/amphacks/annotate/head%3A/python/amphacks/mediumbox.py




More information about the Twisted-Python mailing list