[Twisted-Python] Switching Protocols and TLS
Tobias Oberstein
tobias.oberstein at tavendo.de
Wed Aug 29 07:19:30 MDT 2012
Hello,
I am running a Twisted Web Site object that switches the protocol for specific paths.
The goal is to run Twisted Web, and have certain paths mapped to WebSocket.
I am aware of
http://twistedmatrix.com/trac/ticket/3204
but in the meantime have working code
https://github.com/tavendo/AutobahnPython/blob/master/autobahn/autobahn/resource.py#L84
This works for non-TLS, but not for TLS.
This works perfectly:
https://github.com/tavendo/AutobahnPython/tree/master/examples/websocket/echo_site
and this does NOT work:
https://github.com/tavendo/AutobahnPython/tree/master/examples/websocket/echo_site_tls
The latter is able to send stuff down to client, but won't receive anything.
Any hint how to track that down would be great!
Thanks,
Tobias
More information about the Twisted-Python
mailing list