Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit 9c8bc24

Browse files
committed
Fix proxy server woops
1 parent ecb7b57 commit 9c8bc24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def _wrap_socket(self, sock):
124124
raise NotImplementedError()
125125

126126
def run(self):
127-
self.proxy = self._start_proxy()
127+
self.proxy_server = self._start_proxy()
128128

129129

130130
class SocketLevelTest(object):
@@ -158,7 +158,7 @@ def _start_server(self, socket_handler):
158158
self.port = self.server_thread.port
159159
self.secure = self.server_thread.secure
160160

161-
if proxy:
161+
if self.proxy:
162162
self._start_proxy()
163163
self.proxy_host = self.proxy_thread.proxy_host
164164

0 commit comments

Comments
 (0)