X-Git-Url: https://git.rvb.name/vpproxy.git/blobdiff_plain/1e2c0e679beb33f10c2e551768c17ccd77576b54..0d52b048c0c0731caa800bea67e4ddd6f1653471:/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('')