Compress ajaxterm redraws with gzip, to reduce latency
[invirt/packages/invirt-web.git] / code / main.py
index 77646c9..c18cd9f 100755 (executable)
@@ -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: