[Twisted-Python] Transplating a request's transport (SockJS)

Glyph glyph at twistedmatrix.com
Mon Oct 29 13:41:28 EDT 2012

On Oct 29, 2012, at 8:02 AM, exarkun at twistedmatrix.com wrote:

> On 28 Oct, 08:40 pm, _ at lvh.cc wrote:
>> For some reason I thought IProtocol.makeConnection did that; I guess 
>> it's
>> because the implementation in Protocol sets the `transport` attribute 
>> (I
>> thought it was the other way around).
>> I've set transport.protocol = myNewProtocol and now there's one extra
>> passing acceptance test.
> In case anyone didn't read #3204: this is, of course, an unsupported use 
> of transports and not guaranteed to work or continue working (currently 
> it will not work if you happen to be using the (preferred) protocol- 
> based SSL implementation).

Why would anyone not have read <http://tm.tl/3204>?  Everyone, go read it, right now.  (There's a branch, and everything!)


More information about the Twisted-Python mailing list