aboutsummaryrefslogtreecommitdiffstats
path: root/termcast_server/web.py
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-10-16 13:07:32 -0400
committerJesse Luehrs <doy@tozt.net>2014-10-16 13:07:32 -0400
commitf2b2b81ca7227b3f9cbee2b7e9e5f6ff4e2867e8 (patch)
tree08917a60e83945e10ac5bee6b93da5e68d806f5b /termcast_server/web.py
parent3333fe100c8c50ac1660adf984ac054bf79d0586 (diff)
downloadpython-termcast-server-f2b2b81ca7227b3f9cbee2b7e9e5f6ff4e2867e8.tar.gz
python-termcast-server-f2b2b81ca7227b3f9cbee2b7e9e5f6ff4e2867e8.zip
add ssl support
Diffstat (limited to 'termcast_server/web.py')
-rw-r--r--termcast_server/web.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/termcast_server/web.py b/termcast_server/web.py
index 1c64fd4..57ddf14 100644
--- a/termcast_server/web.py
+++ b/termcast_server/web.py
@@ -60,7 +60,8 @@ def make_app(publisher):
('/-/', WebSocketHandler, dict(publisher=publisher)),
])
-def start_server(sock, publisher):
+def start_server(sock, publisher, pemfile):
+ # XXX set up ssl with pemfile
server = tornado.httpserver.HTTPServer(make_app(publisher))
server.add_socket(sock)
tornado.ioloop.IOLoop.instance().start()