X-Git-Url: https://git.rvb.name/vpproxy.git/blobdiff_plain/1aebc74d991c35b7eb82395434d543d44f536089..c65fdd8ebbd745ba03e5477eb317343aace3ebba:/plugins/stat_plugin.py diff --git a/plugins/stat_plugin.py b/plugins/stat_plugin.py index 1cf9b5e..99e6e0a 100644 --- a/plugins/stat_plugin.py +++ b/plugins/stat_plugin.py @@ -21,7 +21,12 @@ class Stat(VPProxyPlugin): '

Connected clients: ' + str(self.stuff.clientcounter.total) + '

') connection.wfile.write( '
Concurrent connections limit: ' + str(self.config.maxconns) + '
') + connection.wfile.write('') for i in self.stuff.clientcounter.clients: - connection.wfile.write(str(i) + ' : ' + str(self.stuff.clientcounter.clients[i][0]) + ' ' + - str(self.stuff.clientcounter.clients[i][1]) + '
') + connection.wfile.write('') + connection.wfile.write('') + connection.wfile.write('
urlcountclients
' + str(i) + ' ' + str(self.stuff.clientcounter.clients[i][0]) + '') + for client in self.stuff.clientcounter.clients[i][1]: + connection.wfile.write(str(client) + '
') + connection.wfile.write('
') connection.wfile.write('')