Commit 7edd914e305b43a0de85d7762c86163d47c54cc0

Authored by Sergio Oliveira
1 parent 8f647a49

Removing punjab.tac

Showing 1 changed file with 0 additions and 30 deletions   Show diff stats
punjab.tac
... ... @@ -1,30 +0,0 @@
1   -# punjab tac file
2   -# tac documentation is at the following URL:
3   -# http://twistedmatrix.com/documents/current/core/howto/application.html
4   -from twisted.web import server, resource, static
5   -from twisted.application import service, internet
6   -
7   -from punjab.httpb import Httpb, HttpbService
8   -
9   -root = static.File("./html")
10   -
11   -# uncomment only one of the bosh lines, use_raw does no xml
12   -# parsing/serialization but is potentially less reliable
13   -#bosh = HttpbService(1, use_raw=True)
14   -bosh = HttpbService(1)
15   -
16   -# You can limit servers with a whitelist.
17   -# The whitelist is a list of strings to match domain names.
18   -# bosh.white_list = ['jabber.org', 'thetofu.com']
19   -# or a black list
20   -# bosh.block_list = ['jabber.org', '.thetofu.com']
21   -
22   -root.putChild('http-bind', resource.IResource(bosh))
23   -
24   -
25   -site = server.Site(root)
26   -
27   -application = service.Application("punjab")
28   -internet.TCPServer(5280, site).setServiceParent(application)
29   -
30   -# To run this simply to twistd -y punjab.tac