Rename HttpDaemon into XMLRPCDaemon
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
* Rename HttpDaemon into XMLRPCDaemon
|
||||
* Improve TranslateFactory to fetch all translations for a report in one query
|
||||
* Handle displayname on webdav.collection
|
||||
* Handle current-user-privilege-set on webdav.collection
|
||||
|
||||
@@ -171,7 +171,7 @@ class SecureThreadedXMLRPCServer6(SecureThreadedXMLRPCServer):
|
||||
address_family = socket.AF_INET6
|
||||
|
||||
|
||||
class HttpDaemon(threading.Thread):
|
||||
class XMLRPCDaemon(threading.Thread):
|
||||
|
||||
def __init__(self, interface, port, secure=False):
|
||||
threading.Thread.__init__(self)
|
||||
|
||||
+4
-4
@@ -151,8 +151,8 @@ class TrytonServer(object):
|
||||
|
||||
# Launch Server
|
||||
if CONFIG['xmlrpc']:
|
||||
from trytond.protocols.xmlrpc import HttpDaemon
|
||||
httpd = HttpDaemon(CONFIG['interface'], CONFIG['xmlport'],
|
||||
from trytond.protocols.xmlrpc import XMLRPCDaemon
|
||||
xmlrpcd = XMLRPCDaemon(CONFIG['interface'], CONFIG['xmlport'],
|
||||
CONFIG['secure_xmlrpc'])
|
||||
self.logger.info("starting XML-RPC%s protocol, port %d" % \
|
||||
(CONFIG['secure_xmlrpc'] and ' Secure' or '',
|
||||
@@ -182,7 +182,7 @@ class TrytonServer(object):
|
||||
if CONFIG['netrpc']:
|
||||
netrpcd.stop()
|
||||
if CONFIG['xmlrpc']:
|
||||
httpd.stop()
|
||||
xmlrpcd.stop()
|
||||
if CONFIG['webdav']:
|
||||
webdavd.stop()
|
||||
if CONFIG['pidfile']:
|
||||
@@ -212,7 +212,7 @@ class TrytonServer(object):
|
||||
if CONFIG['netrpc']:
|
||||
netrpcd.start()
|
||||
if CONFIG['xmlrpc']:
|
||||
httpd.start()
|
||||
xmlrpcd.start()
|
||||
if CONFIG['webdav']:
|
||||
webdavd.start()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user