Add more debug logs to servers
#4 - Investigate extending pr0xy to use SAM
This commit is contained in:
@@ -92,6 +92,7 @@ class ClientTcpTunnel:
|
||||
|
||||
# asynchronously receive data
|
||||
while i2p_response := await i2p_reader.read(4096):
|
||||
log.debug("responding with i2p data")
|
||||
writer.write(i2p_response)
|
||||
|
||||
# close the connection
|
||||
@@ -99,6 +100,7 @@ class ClientTcpTunnel:
|
||||
except:
|
||||
logger.exception("Error while proxying")
|
||||
finally:
|
||||
log.debug("Closing connection")
|
||||
writer.close()
|
||||
|
||||
return handle_connection
|
||||
|
Reference in New Issue
Block a user