From: Quentin Smith Date: Thu, 13 Aug 2009 02:08:25 +0000 (-0400) Subject: Compress ajaxterm redraws with gzip, to reduce latency X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/0fc62abe2e0be01db3f82a764c6d422ffbefe9a5 Compress ajaxterm redraws with gzip, to reduce latency svn path=/package_branches/invirt-web/ajaxterm-rebased/; revision=2754 --- diff --git a/code/main.py b/code/main.py index 77646c9..c18cd9f 100755 --- a/code/main.py +++ b/code/main.py @@ -407,6 +407,7 @@ console will suffer artifacts. return d @cherrypy.expose + @cherrypy.tools.gzip() def at(self, machine_id, k=None, c=0, force=0): machine = validation.Validate(cherrypy.request.login, cherrypy.request.state, machine_id=machine_id).machine if machine_id in self.atsessions: