Skip to contentSkip to conversation

Removed unused handler parameter from UnixXMLRPCServer interface -- just pass

Xen-changelog Anthony Liguori 1 participant 2 messages Mar 23, 2006 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 23 lines · Xen patchbot -unstable

# HG changeset patch
# User [email protected]
# Node ID d52a93ee4624b0fae694353251622af2eb51dabc
# Parent 8afbc25861219578fae30cc2a9bd60bf2ab26349
Removed unused handler parameter from UnixXMLRPCServer interface -- just pass UnixXMLRPCRequestHandler through to TCPXMLRPCServer.

Do not log requests -- this fills up xend-debug.log uselessly.

diff -r 8afbc2586121 -r d52a93ee4624 tools/python/xen/xend/server/XMLRPCServer.py

tools/python/xen/xend/server/XMLRPCServer.py +1 -0
@@ -13,6 +13,7 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 #============================================================================
 # Copyright (C) 2006 Anthony Liguori <[email protected]>
+# Copyright (C) 2006 XenSource Ltd
 #============================================================================
 
 from xen.xend import XendDomain, XendDomainInfo, XendNode, \

tools/python/xen/xend/server/XMLRPCServer.py line 74

Quoted 6 lines
tools/python/xen/xend/server/XMLRPCServer.py +1 -1
@@ -69,9 +70,9 @@
         if self.use_tcp:
             # bind to something fixed for now as we may eliminate
             # tcp support completely.
-            self.server = TCPXMLRPCServer(("localhost", 8005))
+            self.server = TCPXMLRPCServer(("localhost", 8005, False))
 

This should be:

self.server = TCPXMLRPCServer(("localhost", 8005), False)

Regards,

Anthony Liguori

Quoted 12 lines
tools/python/xen/xend/server/XMLRPCServer.py +1 -1
         else:
-            self.server = UnixXMLRPCServer(XML_RPC_SOCKET)
+            self.server = UnixXMLRPCServer(XML_RPC_SOCKET, False)
 
         # Functions in XendDomainInfo

for name in methods:

_______________________________________________
Xen-changelog mailing list
[email protected]
http://lists.xensource.com/xen-changelog

#2 lore raw
Quoted 38 lines · Anthony Liguori
Quoted 28 lines · Xen patchbot -unstable

# HG changeset patch
# User [email protected]
# Node ID d52a93ee4624b0fae694353251622af2eb51dabc
# Parent 8afbc25861219578fae30cc2a9bd60bf2ab26349
Removed unused handler parameter from UnixXMLRPCServer interface -- just pass UnixXMLRPCRequestHandler through to TCPXMLRPCServer.

Do not log requests -- this fills up xend-debug.log uselessly.

diff -r 8afbc2586121 -r d52a93ee4624 tools/python/xen/xend/server/XMLRPCServer.py
--- a/tools/python/xen/xend/server/XMLRPCServer.py Thu Mar 23
10:30:33 2006
+++ b/tools/python/xen/xend/server/XMLRPCServer.py Thu Mar 23
10:40:43 2006

(quoted diff) +0 -0
@@ -13,6 +13,7 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  

02111-1307 USA
#============================================================================

# Copyright (C) 2006 Anthony Liguori <[email protected]>

(quoted diff) +1 -0
+# Copyright (C) 2006 XenSource Ltd
 #============================================================================ 
 
 
 from xen.xend import XendDomain, XendDomainInfo, XendNode, \

Review line 74

Quoted 6 lines
(quoted diff) +1 -1
@@ -69,9 +70,9 @@
         if self.use_tcp:
             # bind to something fixed for now as we may eliminate
             # tcp support completely.
-            self.server = TCPXMLRPCServer(("localhost", 8005))
+            self.server = TCPXMLRPCServer(("localhost", 8005, False))
 

This should be:

Quoted 1 line

self.server = TCPXMLRPCServer(("localhost", 8005), False)

Sorry, it should actually be:

self.server = TCPXMLRPCServer(("localhost, 8005), logRequests=False)

Regards,

Anthony Liguori

Quoted 22 lines

Regards,

Anthony Liguori

Quoted 7 lines
(quoted diff) +1 -1
         else:
-            self.server = UnixXMLRPCServer(XML_RPC_SOCKET)
+            self.server = UnixXMLRPCServer(XML_RPC_SOCKET, False)
 
         # Functions in XendDomainInfo

for name in methods:

Quoted 5 lines

_______________________________________________
Xen-changelog mailing list
[email protected]
http://lists.xensource.com/xen-changelog

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel