Ignore:
Timestamp:
Aug 21, 2009, 12:42:41 PM (15 years ago)
Author:
quentin
Message:

Use browser-based dupe suppression, so multiple clients can connect to the same terminal and not miss updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • package_branches/invirt-web/cherrypy/code/main.py

    r2452 r2454  
    305305        @cherrypy.tools.require_POST()
    306306        @cherrypy.tools.gzip()
    307         def at(self, machine_id, k=None, c=0, force=0):
     307        def at(self, machine_id, k=None, c=0, h=None):
    308308            machine = validation.Validate(cherrypy.request.login, cherrypy.request.state, machine_id=machine_id).machine
    309309            with self.atsessions_lock:
     
    323323                    self.atmulti.proc_write(term,k)
    324324                time.sleep(0.002)
    325                 dump=self.atmulti.dump(term,c,int(force))
     325                dump=self.atmulti.dump(term,c,h)
    326326                cherrypy.response.headers['Content-Type']='text/xml'
    327327                if isinstance(dump,str):
Note: See TracChangeset for help on using the changeset viewer.