This file is indexed.

/usr/share/doc/twisted-doc/benchmarks/tpserver.py is in twisted-doc 11.1.0-1ubuntu2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
"""Throughput server."""

import sys

from twisted.protocols.wire import Discard
from twisted.internet import protocol, reactor
from twisted.python import log


def main():
    f = protocol.ServerFactory()
    f.protocol = Discard
    reactor.listenTCP(8000, f)
    reactor.run()


if __name__ == '__main__':
    main()