[Pkg-privacy-commits] [obfsproxy] 29/353: Updated server to use the new plugin instantiation method

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 13:01:34 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository obfsproxy.

commit 3145bede4d123e132ba918166952bed50b516a9b
Author: Brandon Wiley <brandon at blanu.net>
Date:   Wed Aug 8 14:06:26 2012 -0500

    Updated server to use the new plugin instantiation method
---
 src/obfsproxy/framework/managed/server.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/obfsproxy/framework/managed/server.py b/src/obfsproxy/framework/managed/server.py
index ad64a24..e00feb0 100755
--- a/src/obfsproxy/framework/managed/server.py
+++ b/src/obfsproxy/framework/managed/server.py
@@ -43,8 +43,8 @@ class ManagedServer:
             raise TransportLaunchException('Tried to launch unsupported transport %s'
                      % name)
 
-        server = DummyServer()
-        self.handler.setTransport(server)
+        serverClass = self.supportedTransports[name]
+        self.handler.setTransport(serverClass)
         add_service(Service(self.handler.handle, port=port))
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/obfsproxy.git



More information about the Pkg-privacy-commits mailing list