summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRatan Gupta <ratagupt@in.ibm.com>2018-01-31 23:30:27 +0530
committerRatan Gupta <ratagupt@in.ibm.com>2018-01-31 23:36:39 +0530
commit5ce760dc9f54f79c79f1c1278f73f7a0db5d0ad0 (patch)
treebaf9c4ab2c8020cc5df67123a5efbe450d3a84c6
parent4af5f33b134f4397e6499158dc6d5e711ce18adc (diff)
downloadphosphor-rest-server-5ce760dc9f54f79c79f1c1278f73f7a0db5d0ad0.zip
phosphor-rest-server-5ce760dc9f54f79c79f1c1278f73f7a0db5d0ad0.tar.gz
Phosphor-gevent: Pass the kwargs while creating WSGIServer
It was missed in earlier commit Change-Id: Ib1ee9610e7e2a31e9247cab212eddf8b84af1011 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
-rw-r--r--servers/gevent/phosphor-gevent3
1 files changed, 2 insertions, 1 deletions
diff --git a/servers/gevent/phosphor-gevent b/servers/gevent/phosphor-gevent
index fe69fdb..9c6d993 100644
--- a/servers/gevent/phosphor-gevent
+++ b/servers/gevent/phosphor-gevent
@@ -71,5 +71,6 @@ if __name__ == '__main__':
if have_wsock:
kw['handler_class'] = WebSocketHandler
server = WSGIServer(
- bind, app, keyfile=default_cert, certfile=default_cert, ciphers=ssl_ciphers)
+ bind, app, keyfile=default_cert, certfile=default_cert,
+ ciphers=ssl_ciphers, **kw)
server.serve_forever()
OpenPOWER on IntegriCloud