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 <rep...@bugs.python.org> <http://bugs.python.org/issue23630> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com