File tree 1 file changed +4
-2
lines changed
test/functional/test_framework
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -183,9 +183,9 @@ def handle(self):
183
183
with socket .create_connection ((dest ["actual_to_addr" ], dest ["actual_to_port" ])) as conn_to :
184
184
forward_sockets (self .conn , conn_to )
185
185
else :
186
- logger .debug (f"Closing connection to { requested_to } : the destinations factory returned None" )
186
+ logger .debug (f"Can't serve the connection to { requested_to } : the destinations factory returned None" )
187
187
else :
188
- logger .debug (f"Closing connection to { requested_to } : no destinations factory" )
188
+ logger .debug (f"Can't serve the connection to { requested_to } : no destinations factory" )
189
189
190
190
# Fall through to disconnect
191
191
except Exception as e :
@@ -194,6 +194,8 @@ def handle(self):
194
194
finally :
195
195
if not self .serv .keep_alive :
196
196
self .conn .close ()
197
+ else :
198
+ logger .debug (f"Keeping client connection alive" )
197
199
198
200
class Socks5Server ():
199
201
def __init__ (self , conf ):
You can’t perform that action at this time.
0 commit comments