blob: 98627ba79082e6fcbe77b9993658ad03ca8ae6ca (
plain)
1
2
3
4
5
6
7
8
|
from test.support.dispatcher.proxy import Proxy
if __name__ in ('main', '__main__'):
proxy = Proxy(proxy_port='8888', app_port='3333')
try:
proxy.serve_forever()
except Exception, e:
proxy.shutdown()
|