WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Further minor ssl relo fixes.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Further minor ssl relo fixes.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 13 May 2008 08:30:12 -0700
Delivery-date: Tue, 13 May 2008 08:30:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1210666823 -3600
# Node ID d5f24c99189bc891636fe98b005aa8d96242f63e
# Parent  f8ce6e3d86c76a39a2e5098c5cc1c5e5529091f9
Further minor ssl relo fixes.
Signed-off-by: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>
---
 tools/python/xen/web/connection.py |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff -r f8ce6e3d86c7 -r d5f24c99189b tools/python/xen/web/connection.py
--- a/tools/python/xen/web/connection.py        Tue May 13 09:19:07 2008 +0100
+++ b/tools/python/xen/web/connection.py        Tue May 13 09:20:23 2008 +0100
@@ -135,13 +135,15 @@ class SSLSocketServerConnection(SocketSe
     received data to one end of the pipe, then read from the other end:
     
     p2cread, p2cwrite = os.pipe()
-    threading.Thread(target=connection.recv2fd, args=(sock, p2cwrite)).start()
+    threading.Thread(target=connection.SSLSocketServerConnection.recv2fd,
+                     args=(sock, p2cwrite)).start()
     os.read(p2cread, 1024)
     
     To use fd2send():
     
     p2cread, p2cwrite = os.pipe()
-    threading.Thread(target=connection.fd2send, args=(sock, p2cread)).start()
+    threading.Thread(target=connection.SSLSocketServerConnection.fd2send,
+                     args=(sock, p2cread)).start()
     os.write(p2cwrite, "data")
     """
 
@@ -232,6 +234,7 @@ class SSLSocketServerConnection(SocketSe
                 pass
 
     recv2fd = staticmethod(recv2fd)
+
 
     def fd2send(sock, fd):
         try:
@@ -278,6 +281,7 @@ class SSLSocketServerConnection(SocketSe
 
     fd2send = staticmethod(fd2send)
 
+
 def hostAllowed(addrport, hosts_allowed):
     if hosts_allowed is None:
         return True

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Further minor ssl relo fixes., Xen patchbot-unstable <=