Removed server state saving. That was a bad approach to it.

This commit is contained in:
Nick Daly 2012-05-15 09:28:43 -05:00
parent 329e92ab86
commit 602e6732ab
2 changed files with 1 additions and 8 deletions

View File

@ -50,14 +50,6 @@ class Listener(SantiagoListener):
self.santiago.query(host, service)
@cherrypy.expose
def save_server(self):
if not cherrypy.request.remote.ip.startswith("127.0.0"):
logging.debug("protocols.https.save_server: Request from non-local IP")
return
self.santiago.save_server()
class Sender(SantiagoSender):
def __init__(self, santiago, proxy_host, proxy_port):

View File

@ -536,3 +536,4 @@ if __name__ == "__main__":
hosting, consuming, mykey)
santiago_b.start()
logging.debug("Santiago finished!")