17 lines
598 B
Python
17 lines
598 B
Python
global servers
|
|
servers = [
|
|
# Host Port SSL Certificate
|
|
("127.0.0.1", 80, False),
|
|
# ("127.0.0.1", 443, "localhost.pem")
|
|
]
|
|
|
|
global timeout
|
|
timeout = 15 # Seconds until the connection should be timed out
|
|
global maxConnections
|
|
maxConnections = 50 # Maximum connections per IP, needs connlimit.py to be activated
|
|
global enableOutThread
|
|
enableOutThread = False # Use a seperate thread for data output?
|
|
global printExceptions
|
|
printExceptions = False # Print exceptions as they happen, enable if you're developing
|
|
global clientDebug
|
|
clientDebug = False # Print how many clients and threads there are |