As an add-on to #5, warn against using ssl_listener in production.

This commit is contained in:
Ryan Williams
2009-11-28 02:29:33 -05:00
parent 669b595da5
commit 64cc20893f

View File

@@ -43,7 +43,7 @@ def tcp_listener(address, backlog=50):
def ssl_listener(address, certificate, private_key):
"""Listen on the given (ip, port) *address* with a TCP socket that
can do SSL.
can do SSL. Primarily useful for unit tests, don't use in production.
*certificate* and *private_key* should be the filenames of the appropriate
certificate and private key files to use with the SSL socket.