[issue23630] support multiple hosts in create_server/start_server
STINNER Victor
report at bugs.python.org
Wed Sep 2 16:28:06 CEST 2015
STINNER Victor added the comment:
"So I like the idea of supporting multiple ports. It's very cheap to support it."
Oh, I had an example in my head: listening on tcp/80 for HTTP and tcp/443 for HTTPS... but it doesn't work. The problem is that the proposed API doesn't allow to specify a protocol factory per port. For such use case, you have to handle multiple servers.
Anyway, I still like the idea of listening to multiple hosts and/or multiple ports. It's a common requirement to start a server.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23630>
_______________________________________
More information about the Python-bugs-list
mailing list