Currently we are using wsgiref simple_server and this does not support either SSL or multi-process. For supporting SSL in m-api service, IMO there are 2 ways for handling this:
1. Remove wsgiref simple_server and use another module such as werkzeug.
2. Use wsgiref simple_server and wrap the socket of server by SSL. For e.g:
srv = simple_server.make_server(host, port, app)
srv.socket = SSLWrapper(..)
Currently we are using wsgiref simple_server and this does not support either SSL or multi-process. For supporting SSL in m-api service, IMO there are 2 ways for handling this: server. make_server( host, port, app)
1. Remove wsgiref simple_server and use another module such as werkzeug.
2. Use wsgiref simple_server and wrap the socket of server by SSL. For e.g:
srv = simple_
srv.socket = SSLWrapper(..)
How do you think, Hongbin?